From: Roy Marples Date: Sat, 20 Feb 2016 02:16:20 +0000 (+0000) Subject: Exlcude stale or delegated prefixes from timers. X-Git-Tag: v6.10.2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a99e2012eecd8a24e21a77b15c483b1c01d4780a;p=thirdparty%2Fdhcpcd.git Exlcude stale or delegated prefixes from timers. --- diff --git a/dhcp6.c b/dhcp6.c index 6e040818..96f37053 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -2999,6 +2999,9 @@ recv: int all_expired = 1; TAILQ_FOREACH(ap, &state->addrs, next) { + if (ap->flags & + (IPV6_AF_DELEGATEDPFX | IPV6_AF_STALE)) + continue; if (ap->prefix_vltime <= state->renew) logger(ifp->ctx, LOG_WARNING, "%s: %s will expire before renewal",