diff options
author | Steven Barth <steven@midlink.org> | 2014-04-01 18:39:38 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-04-01 18:39:38 +0200 |
commit | 4264248aedd515a7c7cf5bcdf29c2ef2e76f938f (patch) | |
tree | fea44a8c8d27e9f587193d6550125d91308abf69 /src/dhcpv6-ia.c | |
parent | eaff6fa14161d58af63bda2e5d56bed2593ad0d0 (diff) |
Keep managed PD for at least 150 seconds
Diffstat (limited to 'src/dhcpv6-ia.c')
-rw-r--r-- | src/dhcpv6-ia.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpv6-ia.c b/src/dhcpv6-ia.c index c8473a7..4bfea18 100644 --- 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; } |