]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
IPv6ND: Fix reachable test
authorRoy Marples <roy@marples.name>
Tue, 10 Dec 2019 21:44:24 +0000 (21:44 +0000)
committerRoy Marples <roy@marples.name>
Tue, 10 Dec 2019 21:47:30 +0000 (21:47 +0000)
src/ipv6nd.c

index 06e158b994da3ba5f2ec5931d5b5f8a29ce3e525..14a357f74de7a9338c1d94f6fafd4fb9d4011502 100644 (file)
@@ -652,7 +652,7 @@ ipv6nd_neighbour(struct dhcpcd_ctx *ctx, struct in6_addr *addr, bool reachable)
                        break;
        }
 
-       if (rap == NULL || rap->expired || rap->reachable == reachable)
+       if (rap == NULL || rap->expired || rap->isreachable == reachable)
                return;
 
        rap->isreachable = reachable;