Skip to content

Commit

Permalink
IPv6ND: Fix reachable test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmarples committed Dec 10, 2019
1 parent c368f0e commit 0228659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipv6nd.c
Expand Up @@ -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;
Expand Down

0 comments on commit 0228659

Please sign in to comment.