From 4264248aedd515a7c7cf5bcdf29c2ef2e76f938f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 1 Apr 2014 18:39:38 +0200 Subject: [PATCH] Keep managed PD for at least 150 seconds --- src/dhcpv6-ia.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2