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

This commit is contained in:
Neil Jerram authored and Simon Kelley committed 2015-06-10 22:06:33 +01:00
1 parent d91b1fd402
commit 654f59e762
1 file changed
+3 -1
+3 -1
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