mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 16:00:21 +01:00
connectivity: fix integer type for signal-id NMDevicePrivate.concheck_periodic_id
(cherry picked from commit b680d118ee)
This commit is contained in:
parent
06569528ce
commit
71175e3d4f
1 changed files with 2 additions and 3 deletions
|
|
@ -486,7 +486,7 @@ typedef struct _NMDevicePrivate {
|
|||
|
||||
NMLldpListener *lldp_listener;
|
||||
NMConnectivityState connectivity_state;
|
||||
guint concheck_periodic_id;
|
||||
gulong concheck_periodic_id;
|
||||
guint64 concheck_seq;
|
||||
|
||||
guint check_delete_unrealized_id;
|
||||
|
|
@ -2126,8 +2126,7 @@ concheck_periodic_update (NMDevice *self)
|
|||
nm_device_check_connectivity (self, NULL, NULL);
|
||||
} else if (!check_enable && priv->concheck_periodic_id) {
|
||||
/* The default route has gone off, and so has connectivity. */
|
||||
g_signal_handler_disconnect (nm_connectivity_get (), priv->concheck_periodic_id);
|
||||
priv->concheck_periodic_id = 0;
|
||||
nm_clear_g_signal_handler (nm_connectivity_get (), &priv->concheck_periodic_id);
|
||||
update_connectivity_state (self, NM_CONNECTIVITY_NONE);
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue