From: Roy Marples Date: Thu, 31 Jul 2008 15:44:07 +0000 (+0000) Subject: Another usec fix. X-Git-Tag: v4.0.2~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b63804804c9a13e453e2c7de9bfd81bf68c3295;p=thirdparty%2Fdhcpcd.git Another usec fix. --- diff --git a/client.c b/client.c index 98806b53..10ecd4a0 100644 --- 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;