]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Missed update of DHCP lease datastructure.
authorSimon Kelley <simon@thekelleys.org.uk>
Wed, 6 Aug 2014 09:16:32 +0000 (10:16 +0100)
committerSimon Kelley <simon@thekelleys.org.uk>
Wed, 6 Aug 2014 09:16:32 +0000 (10:16 +0100)
src/dbus.c

index 469644289a6e42029104222dfaf13ed539d2b5ca..81c9cabec70073c0ff9256c9abbac75788e96d5a 100644 (file)
@@ -599,7 +599,7 @@ void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname)
    if (lease->flags & (LEASE_TA | LEASE_NA))
      {
        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
 #endif