mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-28 21:08:35 +00:00
Fix c7be0164ce
This commit is contained in:
1 parent
c7be0164ce
commit
7ab78b937f
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user