Missed update of DHCP lease datastructure.

This commit is contained in:
Simon Kelley
2014-08-06 10:16:32 +01:00
parent 6d8e8ac0fa
commit 2bb6f7735f

View File

@@ -599,7 +599,7 @@ void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname)
if (lease->flags & (LEASE_TA | LEASE_NA)) if (lease->flags & (LEASE_TA | LEASE_NA))
{ {
print_mac(mac, lease->clid, lease->clid_len); print_mac(mac, lease->clid, lease->clid_len);
inet_ntop(AF_INET6, lease->hwaddr, daemon->addrbuff, ADDRSTRLEN); inet_ntop(AF_INET6, &lease->addr6, daemon->addrbuff, ADDRSTRLEN);
} }
else else
#endif #endif