diff --git a/src/core/nm-policy.c b/src/core/nm-policy.c index c12cd8c476..ec03616a1b 100644 --- a/src/core/nm-policy.c +++ b/src/core/nm-policy.c @@ -467,9 +467,10 @@ any_devices_active(NMPolicy *self) NMDeviceState state; state = nm_device_get_state(device); - if (state <= NM_DEVICE_STATE_DISCONNECTED || state >= NM_DEVICE_STATE_DEACTIVATING) { + if (state <= NM_DEVICE_STATE_DISCONNECTED || state >= NM_DEVICE_STATE_DEACTIVATING) + continue; + if (nm_device_sys_iface_state_is_external(device)) continue; - } return TRUE; } return FALSE;