mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-24 10:35:03 +08:00
When requesting an address, note this in the broadcasting message.
This commit is contained in:
parent
1876157a45
commit
ba2c29b403
6
dhcpcd.c
6
dhcpcd.c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user