mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-16 10:49:34 +00:00
Don't waste time calculating EUI-64 when a lease doesn't have a name.
This commit is contained in:
1 parent
801ca9a7b7
commit
f444cddbaf
1 file changed
+1
-1
+1
-1
@@ -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