summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-12-10 21:44:24 +0000
committerRoy Marples <roy@marples.name>2019-12-10 21:44:24 +0000
commite11495cbe589eb5b49988ee0db6b5239d3a0e15d (patch)
tree1e377c5ee7df4df1aa0d950982493d3e87351388 /src/ipv6nd.c
parent808924135d63bc5b455c0a6140e25ed752c22931 (diff)
downloaddhcpcd-e11495cbe589eb5b49988ee0db6b5239d3a0e15d.tar.xz
IPv6ND: Fix reachable test
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c2
1 files changed, 1 insertions, 1 deletions
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;