summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-07-23 23:15:28 +0200
committerSteven Barth <steven@midlink.org>2014-07-23 23:15:28 +0200
commitac448deb59fc9ed2f19a3549d521ab796ae6ca47 (patch)
tree5003cc81e292d735a59ece09d05eb5f85f1c055a
parenta6640c3f3fdd18baa22b64de148d63d9c13c893f (diff)
Don't loose routes in managed PD
-rw-r--r--src/dhcpv6-ia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c
index fe47130..610bca3 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -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);
}