n-acd: slightly improve logging

If timeout is 0 we don't really do a probe. Also, log the timeout.
This commit is contained in:
Beniamino Galvani 2018-05-17 17:12:51 +02:00
parent d082af6b5c
commit 7f6a19b1ad

View file

@ -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;
}