Commit 4723d49d authored by Simon Kelley's avatar Simon Kelley

Set managed RA flag always when doing DHCP.

parent fbbc1454
...@@ -296,6 +296,8 @@ static int add_prefixes(struct in6_addr *local, int prefix, ...@@ -296,6 +296,8 @@ static int add_prefixes(struct in6_addr *local, int prefix,
do_slaac = 1; do_slaac = 1;
if (context->flags & CONTEXT_RA_STATELESS) if (context->flags & CONTEXT_RA_STATELESS)
param->other = 1; param->other = 1;
if (context->flags & CONTEXT_DHCP)
param->managed = 1;
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment