summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-01-21 16:26:41 +0000
committerRoy Marples <roy@marples.name>2020-01-21 16:26:41 +0000
commit679be2f456faf92b6c621f46b5e21129c92664c3 (patch)
tree7d4860c9522b6ef4b0e0a3681ef5865dbad2465b /src/ipv6nd.c
parentd70199801ff5663bcfe0ee37a6aaae0b8dd7f9dc (diff)
downloaddhcpcd-679be2f456faf92b6c621f46b5e21129c92664c3.tar.xz
inet6: fix forced RA expiration for a given interface
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 82c7be84..5a9f8364 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -561,7 +561,7 @@ ipv6nd_expire(void *arg)
return;
TAILQ_FOREACH(rap, ifp->ctx->ra_routers, next) {
- if (rap->iface == ifp)
+ if (rap->iface != ifp)
continue;
rap->acquired = now;
TAILQ_FOREACH(ia, &rap->addrs, next) {