projects
/
project
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaff6fa
)
Keep managed PD for at least 150 seconds
author
Steven Barth
<steven@midlink.org>
Tue, 1 Apr 2014 16:39:38 +0000
(18:39 +0200)
committer
Steven Barth
<steven@midlink.org>
Tue, 1 Apr 2014 16:39:38 +0000
(18:39 +0200)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index c8473a7cdd6c6bb6949076ffc11c1a79496994db..4bfea18ec3b19e220e1a4a2b7794bda2c1d48ca0 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-428,6
+428,8
@@
static void managed_handle_pd_data(struct ustream *s, _unused int bytes_new)
if (first && c->managed_size == 0)
free_dhcpv6_assignment(c);
+ else if (first)
+ c->valid_until = now + 150;
}