From: Roy Marples Date: Mon, 13 Oct 2014 13:28:22 +0000 (+0000) Subject: Treat ND6_LLINFO_NOSTATE as reachable as this is commonly hit when X-Git-Tag: v6.5.1~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf870cb9abfaad535716b87adeaa6a545588a126;p=thirdparty%2Fdhcpcd.git Treat ND6_LLINFO_NOSTATE as reachable as this is commonly hit when first adding a route. From ND6_LLINFO_NOSTATE the kernel should update it promptly to something more appropriate such as ND6_LLINFO_INCOMPLETE. --- diff --git a/if-bsd.c b/if-bsd.c index cd9bdd9f..728228c3 100644 --- a/if-bsd.c +++ b/if-bsd.c @@ -1060,6 +1060,7 @@ if_nd6reachable(const char *ifname, struct in6_addr *addr) } else { flags = 0; switch(nbi.state) { + case ND6_LLINFO_NOSTATE: /* just added */ case ND6_LLINFO_REACHABLE: case ND6_LLINFO_STALE: case ND6_LLINFO_DELAY: