mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix address-dependent domains for IPv6.
Thanks to Paul Maddock for spotting this. It seems to have been broken forever.
This commit is contained in:
committed by
Simon Kelley
parent
05ff659a3c
commit
51e4eeeb04
@@ -87,7 +87,7 @@ static int read_leases(time_t now, FILE *leasestream)
|
||||
if ((lease = lease6_allocate(&addr.addr.addr6, lease_type)))
|
||||
{
|
||||
lease_set_iaid(lease, strtoul(s, NULL, 10));
|
||||
domain = get_domain6((struct in6_addr *)lease->hwaddr);
|
||||
domain = get_domain6(&lease->addr6);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user