Fix logging of unknown interface in --bridge-interface, DHPCv4.

This commit is contained in:
Neil Jerram
2015-06-10 22:06:33 +01:00
committed by Simon Kelley
parent d91b1fd402
commit 654f59e762

View File

@@ -236,7 +236,9 @@ void dhcp_packet(time_t now, int pxe_fd)
{
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;
}
else