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

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

No files matched your search

+1 -2
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;