projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d12c7b8
)
don't kill of managed PD too early
author
Steven Barth
<steven@midlink.org>
Tue, 1 Apr 2014 16:02:37 +0000
(18:02 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 1 Apr 2014 16:02:37 +0000
(18:02 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index a7fbd12830753c70552afe0192ffc40e34abe978..159017f55dd3fdaf63c4101addee8e6d7415cb80 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-1142,7
+1142,7
@@
ssize_t dhcpv6_handle_ia(uint8_t *buf, size_t buflen, struct interface *iface,
a->accept_reconf = accept_reconf;
apply_lease(iface, a, true);
update_state = true;
- } else if (!assigned && a) { // Cleanup failed assignment
+ } else if (!assigned && a
&& a->managed_size == 0
) { // Cleanup failed assignment
free_dhcpv6_assignment(a);
}
} else if (hdr->msg_type == DHCPV6_MSG_RENEW ||