mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-20 02:38:32 +00:00
Forgot --dhcp-except check in previous commit.
This commit is contained in:
@@ -484,9 +484,15 @@ time_t periodic_ra(time_t now)
|
|||||||
context->ra_time = 0;
|
context->ra_time = 0;
|
||||||
else if (indextoname(daemon->icmp6fd, param.iface, interface) &&
|
else if (indextoname(daemon->icmp6fd, param.iface, interface) &&
|
||||||
iface_check(AF_LOCAL, NULL, interface))
|
iface_check(AF_LOCAL, NULL, interface))
|
||||||
|
{
|
||||||
|
struct iname *tmp;
|
||||||
|
for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next)
|
||||||
|
if (tmp->name && (strcmp(tmp->name, interface) == 0))
|
||||||
|
break;
|
||||||
|
if (!tmp)
|
||||||
send_ra(param.iface, interface, NULL);
|
send_ra(param.iface, interface, NULL);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return next_event;
|
return next_event;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user