]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Reset message counter on renew request.
authorRoy Marples <roy@marples.name>
Thu, 17 Jul 2008 08:36:47 +0000 (08:36 +0000)
committerRoy Marples <roy@marples.name>
Thu, 17 Jul 2008 08:36:47 +0000 (08:36 +0000)
client.c

index ce00f8be62b4061ba31819479e3fb661c5dd6b89..2a941cdc06657241f60d1e11eb69a06276a77296 100644 (file)
--- 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: