From 9f4982cb3f0cc2630ab9dfeb9275f987572d908b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 1 Feb 2013 08:29:20 +0100 Subject: [PATCH] react more quickly to DHCPv6-replies --- src/dhcpv6.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 599870e..773e7ef 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -412,6 +412,9 @@ int dhcpv6_request(enum dhcpv6_msg type) if (retx->handler_reply) len = retx->handler_reply( type, opt, opt_end); + + if (round_end - round_start > 1000) + round_end = 1000 + round_start; } } -- 2.39.2