Tweaks to fix compilation on FreeBSD.

This commit is contained in:
Simon Kelley
2012-02-10 22:16:45 +00:00
parent 6ea6dcf05b
commit 98d76a0326
4 changed files with 10 additions and 7 deletions

View File

@@ -212,7 +212,7 @@ void dhcp6_packet(time_t now)
lease_prune(NULL, now); /* lose any expired leases */
msg.msg_iov = &daemon->dhcp_packet;
sz = dhcp6_reply(parm.current, if_index, ifr.ifr_name, sz, IN6_IS_ADDR_MULTICAST(&from), now);
sz = dhcp6_reply(parm.current, if_index, ifr.ifr_name, sz, IN6_IS_ADDR_MULTICAST(&from.in6.sin6_addr), now);
lease_update_file(now);
lease_update_dns();