From: Roy Marples Date: Tue, 10 Dec 2019 21:44:24 +0000 (+0000) Subject: IPv6ND: Fix reachable test X-Git-Tag: v9.0.0~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0228659a8a539852e41781155d229cc976474ba5;p=thirdparty%2Fdhcpcd.git IPv6ND: Fix reachable test --- diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 20016df5..c2f592b0 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -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;