Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c111ee11 authored by sqian's avatar sqian
Browse files

Use linkProperties.hasGlobalIpv6Address (lowercase one) instead for Mainline

Test: Treehugger; no function change
Bug: 148543040
Change-Id: I9a6d37efbc8997aba9dc3b5ddcd7892027d41f2b
parent 725fd189
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1477,7 +1477,7 @@ public class DataConnection extends StateMachine {
                }

                for (InetAddress gateway : response.getGatewayAddresses()) {
                    int mtu = linkProperties.hasGlobalIPv6Address() ? response.getMtuV6()
                    int mtu = linkProperties.hasGlobalIpv6Address() ? response.getMtuV6()
                            : response.getMtuV4();
                    // Allow 0.0.0.0 or :: as a gateway;
                    // this indicates a point-to-point interface.