RA configuration tweaks and documentation improvements.

This commit is contained in:
Simon Kelley
2012-02-29 12:18:30 +00:00
parent 4b86b65d07
commit 0010b47439
3 changed files with 26 additions and 7 deletions

View File

@@ -275,8 +275,13 @@ static int add_prefixes(struct in6_addr *local, int prefix,
is_same_net6(local, &context->end6, prefix))
{
if (!(context->flags & CONTEXT_RA_ONLY))
param->managed = 1;
{
/* don't do RA for non-ra-only unless --enable-ra is set */
if (!option_bool(OPT_RA))
continue;
param->managed = 1;
}
if (context->flags & CONTEXT_RA_DONE)
continue;