]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Log the address IPv4LL defends.
authorRoy Marples <roy@marples.name>
Mon, 20 Oct 2014 15:50:32 +0000 (15:50 +0000)
committerRoy Marples <roy@marples.name>
Mon, 20 Oct 2014 15:50:32 +0000 (15:50 +0000)
ipv4ll.c

index d059321f267f73f11d546ce56c1684b0503995d6..4568cfb472335212e5849773be70259b60aa58f2 100644 (file)
--- a/ipv4ll.c
+++ b/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;
                }