|
|
|
@ -9,7 +9,7 @@ |
|
|
|
|
struct iface_param parm;
|
|
|
|
|
#ifdef HAVE_LINUX_NETWORK
|
|
|
|
|
struct arpreq arp_req;
|
|
|
|
|
@@ -272,11 +272,9 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
@@ -275,11 +275,9 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
{
|
|
|
|
|
ifr.ifr_addr.sa_family = AF_INET;
|
|
|
|
|
if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) != -1 )
|
|
|
|
@ -23,7 +23,7 @@ |
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next)
|
|
|
|
|
@@ -295,7 +293,7 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
@@ -298,7 +296,7 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
parm.relay_local.s_addr = 0;
|
|
|
|
|
parm.ind = iface_index;
|
|
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ |
|
|
|
|
{
|
|
|
|
|
/* If we failed to match the primary address of the interface, see if we've got a --listen-address
|
|
|
|
|
for a secondary */
|
|
|
|
|
@@ -315,6 +313,12 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
@@ -318,6 +316,12 @@ void dhcp_packet(time_t now, int pxe_fd)
|
|
|
|
|
complete_context(match.addr, iface_index, NULL, match.netmask, match.broadcast, &parm);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|