From: Roy Marples Date: Fri, 5 Apr 2013 14:55:50 +0000 (+0000) Subject: DHCPv6 now respects the reboot 0 option. X-Git-Tag: v5.99.6~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec4615f4473ec126a339a29545cf1598c9d707ee;p=thirdparty%2Fdhcpcd.git DHCPv6 now respects the reboot 0 option. --- diff --git a/dhcp6.c b/dhcp6.c index f59a80e1..64286d02 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -1352,7 +1352,8 @@ dhcp6_startinit(struct interface *ifp) state->expire = ~0U; state->lowpl = ~0U; if (!(options & DHCPCD_TEST) && - ifp->options->ia_type != D6_OPTION_IA_TA) + ifp->options->ia_type != D6_OPTION_IA_TA && + ifp->options->reboot != 0) { r = dhcp6_readlease(ifp); if (r == -1)