Do immediate RA when a prefix goes from old->current.

This commit is contained in:
Simon Kelley
2013-11-26 13:30:12 +00:00
parent 50db3492e2
commit 0d6eb134f5

View File

@@ -661,6 +661,7 @@ static int construct_worker(struct in6_addr *local, int prefix,
log_context(AF_INET6, context); log_context(AF_INET6, context);
/* fast RAs for a while */ /* fast RAs for a while */
ra_start_unsolicted(param->now, context); ra_start_unsolicted(param->now, context);
param->newone = 1;
/* Add address to name again */ /* Add address to name again */
if (context->flags & CONTEXT_RA_NAME) if (context->flags & CONTEXT_RA_NAME)
param->newname = 1; param->newname = 1;