Commit f444cddb authored by Simon Kelley's avatar Simon Kelley

Don't waste time calculating EUI-64 when a lease doesn't have a name.

parent 801ca9a7
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment