From: Roy Marples Date: Tue, 29 Nov 2016 20:14:30 +0000 (+0000) Subject: Init kernel routes before building our routes after adding an IPv4LL address. X-Git-Tag: v7.0.0-beta1~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b59f315cfee10d581cd63718d122d00274107792;p=thirdparty%2Fdhcpcd.git Init kernel routes before building our routes after adding an IPv4LL address. --- diff --git a/ipv4ll.c b/ipv4ll.c index 6e96956a..940f32d5 100644 --- a/ipv4ll.c +++ b/ipv4ll.c @@ -212,6 +212,7 @@ test: return; } timespecclear(&state->defend); + if_initrt(ifp->ctx, AF_INET); rt_build(ifp->ctx, AF_INET); arp_announce(astate); script_runreason(ifp, "IPV4LL");