import of dnsmasq-2.30.tar.gz

This commit is contained in:
Simon Kelley
2006-04-23 20:00:42 +01:00
parent 309331f52c
commit 26d0dbaf24
15 changed files with 225 additions and 239 deletions

View File

@@ -241,6 +241,7 @@ void dhcp_packet(struct daemon *daemon, time_t now)
{
/* broadcast to 255.255.255.255 */
struct in_pktinfo *pkt;
msg.msg_control = control_u.control;
msg.msg_controllen = sizeof(control_u);
cmptr = CMSG_FIRSTHDR(&msg);
dest.sin_addr.s_addr = INADDR_BROADCAST;