device: return G_SOURCE_* instead of boolean in source callback

(cherry picked from commit b88de255fc)
This commit is contained in:
Beniamino Galvani 2023-10-18 13:25:34 +02:00
parent 1b98e30927
commit 0ce538c7e0

View file

@ -7149,7 +7149,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,