]> 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:44:24 +0000 (21:44 +0000)
src/ipv6nd.c

index 20016df5f5e1a9e7440f1dfdd8a82227587526d3..c2f592b02e91fb146898cccba18ba738dd748a74 100644 (file)
@@ -675,7 +675,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;