]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Clear timeouts on IPv4LL failure.
authorRoy Marples <roy@marples.name>
Wed, 26 May 2010 07:13:23 +0000 (07:13 +0000)
committerRoy Marples <roy@marples.name>
Wed, 26 May 2010 07:13:23 +0000 (07:13 +0000)
ipv4ll.c

index 3d365b36c7de6a7d5d3f646691ab3158c482c1c0..43365404f0b91fb0970e2bc68f5038af01482a2f 100644 (file)
--- a/ipv4ll.c
+++ b/ipv4ll.c
@@ -144,6 +144,7 @@ handle_ipv4ll_failure(void *arg)
        close_sockets(iface);
        free(iface->state->offer);
        iface->state->offer = NULL;
+       delete_timeout(NULL, iface);
        if (++iface->state->conflicts > MAX_CONFLICTS) {
                syslog(LOG_ERR, "%s: failed to acquire an IPv4LL address",
                    iface->name);