From: Roy Marples Date: Thu, 17 Jul 2008 08:36:47 +0000 (+0000) Subject: Reset message counter on renew request. X-Git-Tag: v4.0.2~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1856d31b5126763567c52ff8f5ae17598f043ac;p=thirdparty%2Fdhcpcd.git Reset message counter on renew request. --- diff --git a/client.c b/client.c index ce00f8be..2a941cdc 100644 --- a/client.c +++ b/client.c @@ -1175,6 +1175,7 @@ handle_timeout(struct if_state *state, const struct options *options) * we need to remove the server address so we enter the * INIT-REBOOT state correctly. */ lease->server.s_addr = 0; + state->messages = 0; /* FALLTHROUGH */ case STATE_INIT: /* FALLTHROUGH */ case STATE_BOUND: