From: Roy Marples Date: Thu, 1 May 2008 19:38:10 +0000 (+0000) Subject: Fix IPV4LL X-Git-Tag: v4.0.2~441 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b2f0d442fc18259aec8cec69547e016288928d7;p=thirdparty%2Fdhcpcd.git Fix IPV4LL --- diff --git a/client.c b/client.c index ca13cb49..c7694e58 100644 --- a/client.c +++ b/client.c @@ -832,7 +832,7 @@ handle_timeout(struct if_state *state, const struct options *options) } #ifdef ENABLE_IPV4LL - if (state->options & DHCPCD_IPV4LL && gotlease != -1) { + if (state->options & DHCPCD_IPV4LL && gotlease != 0) { logger(LOG_INFO, "probing for an IPV4LL address"); errno = 0; gotlease = ipv4ll_get_address(iface, lease);