]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix recovering from a failed defeat of an IPv4LL address.
authorRoy Marples <roy@marples.name>
Mon, 20 Oct 2014 19:15:36 +0000 (19:15 +0000)
committerRoy Marples <roy@marples.name>
Mon, 20 Oct 2014 19:15:36 +0000 (19:15 +0000)
ipv4ll.c

index 4568cfb472335212e5849773be70259b60aa58f2..c3afd11cf4a3da29ae2f259d53072ceeccd77d92 100644 (file)
--- a/ipv4ll.c
+++ b/ipv4ll.c
@@ -109,6 +109,8 @@ ipv4ll_start(void *arg)
                addr = state->offer->yiaddr;
                free(state->offer);
        }
+
+       state->state = DHS_INIT_IPV4LL;
        /* We maybe rebooting an IPv4LL address. */
        if (!IN_LINKLOCAL(htonl(addr))) {
                syslog(LOG_INFO, "%s: probing for an IPv4LL address",