]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Clear stop timer for INFORM.
authorRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 12:18:37 +0000 (12:18 +0000)
committerRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 12:18:37 +0000 (12:18 +0000)
client.c

index a50fa66277c210093d0af0e08c6819df0dbb2376..f33b0346c349e513009cd6c1472b68b2a417a778 100644 (file)
--- a/client.c
+++ b/client.c
@@ -927,6 +927,7 @@ static int bind_dhcp(struct if_state *state, const struct options *options)
                       inet_ntoa(lease->addr));
                state->state = STATE_BOUND;
                state->lease.leasetime = ~0U;
+               timerclear(&state->stop);
                reason = "INFORM";
        } else if (IN_LINKLOCAL(htonl(state->new->yiaddr))) {
                get_lease(lease, state->new);