This commit is contained in:
Simon Kelley committed 2017-05-11 20:33:21 +01:00
1 parent c7be0164ce
commit 7ab78b937f
1 file changed
+1 -1
+1 -1
View File
@@ -224,7 +224,7 @@ void dhcp_packet(time_t now, int pxe_fd)
#endif
if (!indextoname(daemon->dhcpfd, iface_index, ifr.ifr_name) ||
ioctl(daemon->dhcpfd, SIOCGIFFLAGS, &ifr) != -1)
ioctl(daemon->dhcpfd, SIOCGIFFLAGS, &ifr) != 0)
return;
mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base;