summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-05-17 17:12:51 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-05-29 11:18:30 +0200
commit7f6a19b1ad805e4be54c08c3622d2e2f52d63688 (patch)
tree77e9a30b6b6a8197140b2a1122329b23ce4f728c
parentd082af6b5c2383049d719151c1c1ac9614103e1d (diff)
downloadNetworkManager-7f6a19b1ad805e4be54c08c3622d2e2f52d63688.tar.gz
n-acd: slightly improve logging
If timeout is 0 we don't really do a probe. Also, log the timeout.
-rw-r--r--src/devices/nm-acd-manager.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/nm-acd-manager.c b/src/devices/nm-acd-manager.c
index 1bade4ff3a..035487a330 100644
--- a/src/devices/nm-acd-manager.c
+++ b/src/devices/nm-acd-manager.c
@@ -274,7 +274,11 @@ acd_probe_start (NMAcdManager *self,
return FALSE;
}
- _LOGD ("start probe for %s", nm_utils_inet4_ntop (info->address, NULL));
+ if (timeout) {
+ _LOGD ("started probe for %s with timeout %llu",
+ nm_utils_inet4_ntop (info->address, NULL),
+ (unsigned long long) timeout);
+ }
return TRUE;
}