From: Roy Marples Date: Tue, 5 Mar 2019 20:04:25 +0000 (+0000) Subject: IPv4LL: Fix routing on failure X-Git-Tag: v7.2.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ae937748964e1b662097f96904237aa56e78c6;p=thirdparty%2Fdhcpcd.git IPv4LL: Fix routing on failure --- diff --git a/src/ipv4ll.c b/src/ipv4ll.c index 4d59fff2..51cd4f5b 100644 --- a/src/ipv4ll.c +++ b/src/ipv4ll.c @@ -305,6 +305,8 @@ ipv4ll_conflicted(struct arp_state *astate, const struct arp_msg *amsg) ipv4_deladdr(state->addr, 1); state->down = 1; state->addr = NULL; + if_initrt(ifp->ctx, AF_INET); + rt_build(ifp->ctx, AF_INET); script_runreason(ifp, "IPV4LL"); }