When requesting an address, note this in the broadcasting message.

This commit is contained in:
Roy Marples 2011-03-25 20:19:03 +00:00
parent 1876157a45
commit ba2c29b403

View File

@ -929,7 +929,11 @@ start_discover(void *arg)
else
add_timeout_sec(ifo->timeout, start_ipv4ll, iface);
}
syslog(LOG_INFO, "%s: broadcasting for a lease", iface->name);
if (ifo->options & DHCPCD_REQUEST)
syslog(LOG_INFO, "%s: broadcasting for a lease (requesting %s)",
iface->name, inet_ntoa(ifo->req_addr));
else
syslog(LOG_INFO, "%s: broadcasting for a lease", iface->name);
send_discover(iface);
}