Don't loose routes in managed PD
authorSteven Barth <steven@midlink.org>
Wed, 23 Jul 2014 21:15:28 +0000 (23:15 +0200)
committerSteven Barth <steven@midlink.org>
Wed, 23 Jul 2014 21:15:28 +0000 (23:15 +0200)
src/dhcpv6-ia.c

index fe4713004e5a964469fa85e25894cbf6652064a9..610bca3162a1aab8b5041a6199d8b1d69352708f 100644 (file)
@@ -622,7 +622,7 @@ static void update(struct interface *iface)
        if (change) {
                struct dhcpv6_assignment *c;
                list_for_each_entry(c, &iface->ia_assignments, head)
-                       if (c != border)
+                       if (c != border && !iface->managed)
                                apply_lease(iface, c, false);
        }