device: return G_SOURCE_* instead of boolean in source callback

This commit is contained in:
Beniamino Galvani 2023-10-18 13:25:34 +02:00
parent 67faab3f4d
commit b88de255fc

View file

@ -7242,7 +7242,7 @@ device_ip_link_changed(gpointer user_data)
ip_iface = pllink->name;
if (!ip_iface[0])
return FALSE;
return G_SOURCE_REMOVE;
if (!nm_streq(priv->ip_iface, ip_iface)) {
_LOGI(LOGD_DEVICE,