Loading src/java/com/android/internal/telephony/dataconnection/DataConnection.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1531,7 +1531,7 @@ public class DataConnection extends StateMachine { } } for (InetAddress gateway : response.getGatewayAddresses()) { for (InetAddress gateway : response.getGatewayAddresses()) { int mtu = linkProperties.hasGlobalIpv6Address() ? response.getMtuV6() int mtu = gateway instanceof java.net.Inet6Address ? response.getMtuV6() : response.getMtuV4(); : response.getMtuV4(); // Allow 0.0.0.0 or :: as a gateway; // Allow 0.0.0.0 or :: as a gateway; // this indicates a point-to-point interface. // this indicates a point-to-point interface. Loading Loading
src/java/com/android/internal/telephony/dataconnection/DataConnection.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1531,7 +1531,7 @@ public class DataConnection extends StateMachine { } } for (InetAddress gateway : response.getGatewayAddresses()) { for (InetAddress gateway : response.getGatewayAddresses()) { int mtu = linkProperties.hasGlobalIpv6Address() ? response.getMtuV6() int mtu = gateway instanceof java.net.Inet6Address ? response.getMtuV6() : response.getMtuV4(); : response.getMtuV4(); // Allow 0.0.0.0 or :: as a gateway; // Allow 0.0.0.0 or :: as a gateway; // this indicates a point-to-point interface. // this indicates a point-to-point interface. Loading