Merge branch '1788-network-more-reachable' into 'master'

gnetworkmonitornm: Consider NM_STATE_CONNECTED_SITE to be available

Closes #1788

See merge request GNOME/glib!880
This commit is contained in:
Michael Catanzaro 2019-05-31 14:44:44 +00:00
commit e6a55def7d

View File

@ -196,7 +196,7 @@ sync_properties (GNetworkMonitorNM *nm,
} }
else if (nm_state <= NM_STATE_CONNECTED_SITE) else if (nm_state <= NM_STATE_CONNECTED_SITE)
{ {
new_network_available = FALSE; new_network_available = TRUE;
new_network_metered = FALSE; new_network_metered = FALSE;
if (nm_connectivity == NM_CONNECTIVITY_PORTAL) if (nm_connectivity == NM_CONNECTIVITY_PORTAL)
{ {