mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-22 11:46:09 +00:00
Tweak context-construct logic.
This commit is contained in:
1 parent
87d346f6a7
commit
d7346a1e8c
1 file changed
+5
-5
+5
-5
@@ -569,11 +569,11 @@ void dhcp_construct_contexts(time_t now)
|
||||
param.now = now;
|
||||
|
||||
for (context = daemon->dhcp6; context; context = context->next)
|
||||
if (context->flags & CONTEXT_CONSTRUCTED)
|
||||
{
|
||||
context->flags |= CONTEXT_GC;
|
||||
context->if_index = 0;
|
||||
}
|
||||
{
|
||||
context->if_index = 0;
|
||||
if (context->flags & CONTEXT_CONSTRUCTED)
|
||||
context->flags |= CONTEXT_GC;
|
||||
}
|
||||
|
||||
iface_enumerate(AF_INET6, ¶m, construct_worker);
|
||||
|
||||
|
||||
Reference in new issue
Block a user