From: Roy Marples Date: Wed, 30 Jul 2008 20:15:49 +0000 (+0000) Subject: Add correct time bit. X-Git-Tag: v4.0.2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7d0644df8ace5aada5e88aa585a710c5f13956;p=thirdparty%2Fdhcpcd.git Add correct time bit. --- diff --git a/client.c b/client.c index 1e91f791..d88bf705 100644 --- a/client.c +++ b/client.c @@ -1258,7 +1258,7 @@ handle_timeout(struct if_state *state, const struct options *options) inet_ntoa(lease->addr)); state->state = STATE_RENEWING; 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; break; }