device: return G_SOURCE_* instead of boolean in source callback

(cherry picked from commit b88de255fc)
(cherry picked from commit 0ce538c7e0)
This commit is contained in:
Beniamino Galvani 2023-10-18 13:25:34 +02:00 committed by Fernando Fernandez Mancera
parent be98ebcd58
commit 58e922dcbc

View file

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