]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Another usec fix.
authorRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 15:44:07 +0000 (15:44 +0000)
committerRoy Marples <roy@marples.name>
Thu, 31 Jul 2008 15:44:07 +0000 (15:44 +0000)
client.c

index 98806b53c525e2ea72dde3605dc2bdce8aa1f9dd..10ecd4a0228270eb6c635bfeefc33e538af883a6 100644 (file)
--- a/client.c
+++ b/client.c
@@ -622,7 +622,7 @@ client_setup(struct if_state *state, const struct options *options)
        {
                if (state->options & DHCPCD_IPV4LL) {
                        state->stop.tv_sec = state->start.tv_sec;
-                       state->stop.tv_usec = state->stop.tv_usec;
+                       state->stop.tv_usec = state->start.tv_usec;
                        state->stop.tv_sec += options->timeout;
                        if (!(state->options & DHCPCD_BACKGROUND)) {
                                state->exit.tv_sec = state->stop.tv_sec + 10;