]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Quick fix.
authorRoy Marples <roy@marples.name>
Sat, 19 Jul 2008 20:52:17 +0000 (20:52 +0000)
committerRoy Marples <roy@marples.name>
Sat, 19 Jul 2008 20:52:17 +0000 (20:52 +0000)
client.c

index 3a271f82a58a7ce0ddc91da9d9144f3cee2d969e..1f011e8d86491374e212be9e310991170a11df9e 100644 (file)
--- a/client.c
+++ b/client.c
@@ -749,6 +749,7 @@ wait_for_packet(struct if_state *state)
        }
 
        ref = NULL;
+       get_time(&now);
        if (timerisset(&state->exit)) {
                if (timercmp(&state->exit, &now, <=))
                        return 0;