mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Tweak when old prefix returns.
This commit is contained in:
@@ -555,7 +555,15 @@ static int construct_worker(struct in6_addr *local, int prefix,
|
|||||||
int flags = context->flags;
|
int flags = context->flags;
|
||||||
context->flags &= ~(CONTEXT_GC | CONTEXT_OLD);
|
context->flags &= ~(CONTEXT_GC | CONTEXT_OLD);
|
||||||
if (flags & CONTEXT_OLD)
|
if (flags & CONTEXT_OLD)
|
||||||
|
{
|
||||||
|
/* address went, now it's back */
|
||||||
log_context(AF_INET6, context);
|
log_context(AF_INET6, context);
|
||||||
|
/* fast RAs for a while */
|
||||||
|
ra_start_unsolicted(param->now, context);
|
||||||
|
/* Add address to name again */
|
||||||
|
if (context->flags & CONTEXT_RA_NAME)
|
||||||
|
param->newname = 1;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user