mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-03 21:48:21 +02:00
device/connectivity: improve logging about cancelled connectivity check
There can be other reasons why the check was cancelled, not only because the current item was obsoleted. For example, the caller who scheduled a check externally, might have cancelled it or NMDevice might be disposed().
This commit is contained in:
parent
89af7fbfa6
commit
8c30aa0e73
1 changed files with 2 additions and 2 deletions
|
|
@ -2542,9 +2542,9 @@ concheck_cb (NMConnectivity *connectivity,
|
|||
|
||||
if (nm_utils_error_is_cancelled (error, FALSE)) {
|
||||
/* the only place where we nm_connectivity_check_cancel(@c_handle), is
|
||||
* from inside concheck_handle_event(). This is a recursive call,
|
||||
* from inside concheck_handle_complete(). This is a recursive call,
|
||||
* nothing to do. */
|
||||
_LOGT (LOGD_CONCHECK, "connectivity: complete check (seq:%llu, obsoleted by later request returning)",
|
||||
_LOGT (LOGD_CONCHECK, "connectivity: complete check (seq:%llu, cancelled)",
|
||||
(long long unsigned) handle->seq);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue