Commit 00238fb0 authored by Simon Kelley's avatar Simon Kelley

indentation fix.

parent 74e6b520
...@@ -399,13 +399,13 @@ void dhcp_update_configs(struct dhcp_config *configs) ...@@ -399,13 +399,13 @@ void dhcp_update_configs(struct dhcp_config *configs)
if (cache_find_by_name(crec, config->hostname, 0, cacheflags)) if (cache_find_by_name(crec, config->hostname, 0, cacheflags))
{ {
/* use primary (first) address */ /* use primary (first) address */
while (crec && !(crec->flags & F_REVERSE)) while (crec && !(crec->flags & F_REVERSE))
crec = cache_find_by_name(crec, config->hostname, 0, cacheflags); crec = cache_find_by_name(crec, config->hostname, 0, cacheflags);
if (!crec) if (!crec)
continue; /* should be never */ continue; /* should be never */
inet_ntop(prot, &crec->addr.addr, daemon->addrbuff, ADDRSTRLEN); inet_ntop(prot, &crec->addr.addr, daemon->addrbuff, ADDRSTRLEN);
my_syslog(MS_DHCP | LOG_WARNING, _("%s has more than one address in hostsfile, using %s for DHCP"), my_syslog(MS_DHCP | LOG_WARNING, _("%s has more than one address in hostsfile, using %s for DHCP"),
config->hostname, daemon->addrbuff); config->hostname, daemon->addrbuff);
} }
if (prot == AF_INET && if (prot == AF_INET &&
......
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