mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-20 11:29:35 +00:00
More RA flag evolution.
This commit is contained in:
1 parent
4723d49dad
commit
05e92e5afe
1 file changed
+5
-3
+5
-3
@@ -294,10 +294,12 @@ static int add_prefixes(struct in6_addr *local, int prefix,
|
||||
(CONTEXT_RA_ONLY | CONTEXT_RA_NAME | CONTEXT_RA_STATELESS)))
|
||||
{
|
||||
do_slaac = 1;
|
||||
if (context->flags & CONTEXT_RA_STATELESS)
|
||||
param->other = 1;
|
||||
if (context->flags & CONTEXT_DHCP)
|
||||
param->managed = 1;
|
||||
{
|
||||
param->other = 1;
|
||||
if (!(context->flags & CONTEXT_RA_STATELESS))
|
||||
param->managed = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user