From: Steven Barth Date: Fri, 1 Feb 2013 07:29:20 +0000 (+0100) Subject: react more quickly to DHCPv6-replies X-Git-Tag: debian/1.1+git20160131-1~187 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=9f4982cb3f0cc2630ab9dfeb9275f987572d908b;p=odhcp6c.git react more quickly to DHCPv6-replies --- 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; } }