Commit 654f59e7 authored by Neil Jerram's avatar Neil Jerram Committed by Simon Kelley

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

parent d91b1fd4
...@@ -236,7 +236,9 @@ void dhcp_packet(time_t now, int pxe_fd) ...@@ -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
......
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