mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-11 06:00:34 +01:00
manager: fix evaluation of manager state
The state should be set to CONNECTED_GLOBAL only when there is full connectivity. Fixes:9d43869e47https://bugzilla.gnome.org/show_bug.cgi?id=785281 (cherry picked from commitebb30c53cd)
This commit is contained in:
parent
01b10fe24d
commit
9fea242f72
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,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