nm-device: add log indicating gateway ping started

Since we are adding the ping check for the connection.ip-ping-addresses,
it makes more sense to improve the logging to differentiate between the
started ping operations for gateway and connection.ip-ping-addresses.
This commit is contained in:
Wen Liang 2024-10-23 16:22:37 -04:00
parent 4082e7e109
commit f967074521

View file

@ -15008,6 +15008,8 @@ nm_device_start_ip_check(NMDevice *self)
const NMPObject *gw;
const NML3ConfigData *l3cd;
_LOGD(LOGD_DEVICE, "starting ping gateway...");
l3cd = priv->l3cfg ? nm_l3cfg_get_combined_l3cd(priv->l3cfg, TRUE) : NULL;
if (!l3cd) {
/* pass */