mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix logging of unknown interface in --bridge-interface, DHPCv4.
This commit is contained in:
committed by
Simon Kelley
parent
d91b1fd402
commit
654f59e762
@@ -236,7 +236,9 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|||||||
{
|
{
|
||||||
if (!(iface_index = if_nametoindex(bridge->iface)))
|
if (!(iface_index = if_nametoindex(bridge->iface)))
|
||||||
{
|
{
|
||||||
my_syslog(LOG_WARNING, _("unknown interface %s in bridge-interface"), ifr.ifr_name);
|
my_syslog(MS_DHCP | LOG_WARNING,
|
||||||
|
_("unknown interface %s in bridge-interface"),
|
||||||
|
bridge->iface);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user