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

Commit 7596e9cd authored by Erik Kline's avatar Erik Kline Committed by Android (Google) Code Review
Browse files

Merge "Also consider loss of IPv6 default route to be fatal" into nyc-dev

parents c1699a9f 0a0e1dcd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -536,6 +536,16 @@ public class IpManager extends StateMachine {
            delta = ProvisioningChange.LOST_PROVISIONING;
        }

        // Additionally:
        //
        // If the previous link properties had a global IPv6 address and an
        // IPv6 default route then also consider the loss of that default route
        // to be a loss of provisioning. See b/27962810.
        if (oldLp.hasGlobalIPv6Address() && oldLp.hasIPv6DefaultRoute() &&
                !newLp.hasIPv6DefaultRoute()) {
            delta = ProvisioningChange.LOST_PROVISIONING;
        }

        return delta;
    }