Commit bb2509fd authored by Simon Kelley's avatar Simon Kelley

Typo in filter_constructed_dhcp()

parent 61744359
...@@ -51,7 +51,7 @@ static int filter_constructed_dhcp(struct auth_zone *zone, int flag, struct all_ ...@@ -51,7 +51,7 @@ static int filter_constructed_dhcp(struct auth_zone *zone, int flag, struct all_
#ifdef HAVE_DHCP6 #ifdef HAVE_DHCP6
struct dhcp_context *context; struct dhcp_context *context;
if (flag | F_IPV6) if (flag & F_IPV6)
for (context = daemon->dhcp6; context; context = context->next) for (context = daemon->dhcp6; context; context = context->next)
if ((context->flags & CONTEXT_CONSTRUCTED) && if ((context->flags & CONTEXT_CONSTRUCTED) &&
is_same_net6(&(addr_u->addr.addr6), &context->start6, context->prefix)) is_same_net6(&(addr_u->addr.addr6), &context->start6, context->prefix))
......
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