From: Roy Marples Date: Mon, 3 Oct 2016 17:55:43 +0000 (+0000) Subject: Revert prior and test for DH6S_REBIND rather than not DH6S_DISCOVER. X-Git-Tag: v6.11.4~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07d3e3c991be1fe761203797b948d075ebfbc0b;p=thirdparty%2Fdhcpcd.git Revert prior and test for DH6S_REBIND rather than not DH6S_DISCOVER. --- diff --git a/dhcp6.c b/dhcp6.c index b00ae334..4f663700 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -2923,7 +2923,7 @@ dhcp6_handledata(void *arg) /* PD doesn't use CONFIRM, so REBIND could * throw up an invalid prefix if we * changed link */ - if (state->state != DH6S_DISCOVER && + if (state->state == DH6S_REBIND && dhcp6_hasprefixdelegation(ifp)) dhcp6_startdiscover(ifp); #endif