From 58ae937748964e1b662097f96904237aa56e78c6 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 5 Mar 2019 20:04:25 +0000 Subject: [PATCH] IPv4LL: Fix routing on failure --- src/ipv4ll.c | 2 ++ 1 file changed, 2 insertions(+) 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"); } -- 2.47.2