mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Don't waste time calculating EUI-64 when a lease doesn't have a name.
This commit is contained in:
@@ -410,7 +410,7 @@ void lease_update_dns(void)
|
||||
#ifdef HAVE_DHCP6
|
||||
if (lease->flags & (LEASE_TA | LEASE_NA))
|
||||
prot = AF_INET6;
|
||||
else
|
||||
else if (lease->hostname || lease->fqdn)
|
||||
{
|
||||
struct subnet_map *map;
|
||||
for (map = subnets; map; map = map->next)
|
||||
|
||||
Reference in New Issue
Block a user