Commit 7f6a19b1 authored by Beniamino Galvani's avatar Beniamino Galvani

n-acd: slightly improve logging

If timeout is 0 we don't really do a probe. Also, log the timeout.
parent d082af6b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment