Commit 7ab78b93 authored by Simon Kelley's avatar Simon Kelley

Fix c7be0164

parent c7be0164
...@@ -224,7 +224,7 @@ void dhcp_packet(time_t now, int pxe_fd) ...@@ -224,7 +224,7 @@ void dhcp_packet(time_t now, int pxe_fd)
#endif #endif
if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name) || if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name) ||
ioctl(daemon->dhcpfd, SIOCGIFFLAGS, &ifr) != -1) ioctl(daemon->dhcpfd, SIOCGIFFLAGS, &ifr) != 0)
return; return;
mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base;
......
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