summaryrefslogtreecommitdiffhomepage
path: root/src/dhcpv6-ia.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dhcpv6-ia.c')
-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 0adc57f..da2501f 100644
--- a/src/dhcpv6-ia.c
+++ b/src/dhcpv6-ia.c
@@ -700,7 +700,7 @@ static void handle_addrlist_change(struct netevent_handler_info *info)
c->managed_size)
continue;
- if (c->length < 128 && c->assigned >= border->assigned && c != border)
+ if (c->length < 128 && (c->assigned == 0 || c->assigned >= border->assigned) && c != border)
list_move(&c->head, &reassign);
else if (c != border && (c->flags & OAF_BOUND))
apply_lease(iface, c, true);