Compare commits

..
1 Commits
Author SHA1 Message Date
Simon Kelley 7ab78b937f Fix c7be0164ce 2017-05-11 20:33:21 +01:00
+1 -1
View File
@@ -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;