mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 20:10:10 +01:00
manager: fix evaluation of manager state
The state should be set to CONNECTED_GLOBAL only when there is full
connectivity.
Fixes: 9d43869e47
https://bugzilla.gnome.org/show_bug.cgi?id=785281
This commit is contained in:
parent
5b50564a8a
commit
ebb30c53cd
1 changed files with 1 additions and 1 deletions
|
|
@ -837,7 +837,7 @@ find_best_device_state (NMManager *manager)
|
|||
case NM_ACTIVE_CONNECTION_STATE_ACTIVATED:
|
||||
if ( nm_active_connection_get_default (ac)
|
||||
|| nm_active_connection_get_default6 (ac)) {
|
||||
if (priv->connectivity_state)
|
||||
if (priv->connectivity_state == NM_CONNECTIVITY_FULL)
|
||||
return NM_STATE_CONNECTED_GLOBAL;
|
||||
|
||||
best_state = NM_STATE_CONNECTED_SITE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue