mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-27 20:14:15 +08:00
Log the address IPv4LL defends.
This commit is contained in:
parent
16badc2826
commit
3355d8fa0b
8
ipv4ll.c
8
ipv4ll.c
@ -139,13 +139,13 @@ ipv4ll_handle_failure(void *arg)
|
||||
up = uptime();
|
||||
if (state->defend + DEFEND_INTERVAL > up) {
|
||||
syslog(LOG_WARNING,
|
||||
"%s: IPv4LL %d second defence failed",
|
||||
ifp->name, DEFEND_INTERVAL);
|
||||
"%s: IPv4LL %d second defence failed for %s",
|
||||
ifp->name, DEFEND_INTERVAL, inet_ntoa(state->addr));
|
||||
dhcp_drop(ifp, "EXPIRE");
|
||||
state->conflicts = -1;
|
||||
} else {
|
||||
syslog(LOG_DEBUG, "%s: defended IPv4LL address",
|
||||
ifp->name);
|
||||
syslog(LOG_DEBUG, "%s: defended IPv4LL address %s",
|
||||
ifp->name, inet_ntoa(state->addr));
|
||||
state->defend = up;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user