ra-advrouter mode for RFC-3775 mobile IPv6 support.

This commit is contained in:
Simon Kelley
2014-04-25 22:04:05 +01:00
parent 50f86ce8e4
commit 7ea3d3fdca
7 changed files with 52 additions and 16 deletions

View File

@@ -727,8 +727,7 @@ void dhcp_construct_contexts(time_t now)
if (context->flags & CONTEXT_GC && !(context->flags & CONTEXT_OLD))
{
if ((context->flags & (CONTEXT_RA_ONLY | CONTEXT_RA_NAME | CONTEXT_RA_STATELESS)) ||
option_bool(OPT_RA))
if ((context->flags & CONTEXT_RA) || option_bool(OPT_RA))
{
/* previously constructed context has gone. advertise it's demise */
context->flags |= CONTEXT_OLD;