mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 18:00:18 +01:00
wwan: notify change of modem:data-port when clearing ip-iface
data-port returns ip-iface, if set. Clearing it, most likely causes the property to change. Emit a notification.
This commit is contained in:
parent
4fbea56b54
commit
8209e42106
1 changed files with 2 additions and 1 deletions
|
|
@ -1138,7 +1138,8 @@ deactivate_cleanup (NMModem *self, NMDevice *device)
|
|||
priv->ip6_method = NM_MODEM_IP_METHOD_UNKNOWN;
|
||||
|
||||
_set_ip_ifindex (self, -1);
|
||||
nm_clear_g_free (&priv->ip_iface);
|
||||
if (nm_clear_g_free (&priv->ip_iface))
|
||||
_notify (self, PROP_DATA_PORT);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue