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

Commit 47719fc1 authored by Erik Kline's avatar Erik Kline Committed by android-build-merger
Browse files

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

am: 7596e9cd

* commit '7596e9cd':
  Also consider loss of IPv6 default route to be fatal

Change-Id: I566cfd51a01286a0311566f2acaaf14e739f5e70
parents f917e2f7 7596e9cd
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;
    }