]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Treat ND6_LLINFO_NOSTATE as reachable as this is commonly hit when
authorRoy Marples <roy@marples.name>
Mon, 13 Oct 2014 13:28:22 +0000 (13:28 +0000)
committerRoy Marples <roy@marples.name>
Mon, 13 Oct 2014 13:28:22 +0000 (13:28 +0000)
first adding a route. From ND6_LLINFO_NOSTATE the kernel should update it
promptly to something more appropriate such as ND6_LLINFO_INCOMPLETE.

if-bsd.c

index cd9bdd9f776e46069903d75f6cbbd931cbf87225..728228c36da3bf7783751d657dc46e501d4de4a0 100644 (file)
--- 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: