]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
inet6: fix forced RA expiration for a given interface
authorRoy Marples <roy@marples.name>
Tue, 21 Jan 2020 16:26:41 +0000 (16:26 +0000)
committerRoy Marples <roy@marples.name>
Tue, 21 Jan 2020 16:26:41 +0000 (16:26 +0000)
src/ipv6nd.c

index 82c7be8473eba5d1a25b06e67b574847148ce1d1..5a9f8364881bdaf93645cf90738469c98a864a4b 100644 (file)
@@ -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) {