From: Roy Marples Date: Tue, 21 Jan 2020 16:26:41 +0000 (+0000) Subject: inet6: fix forced RA expiration for a given interface X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=744a752ca1a4ad3373b4835e8d1d2c1367bf3da0;p=thirdparty%2Fdhcpcd.git inet6: fix forced RA expiration for a given interface --- 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) {