mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 15:40:22 +01:00
manager: fix a reversed conditional
find_ac_for_connection() needs the uuid when the connection is not a
NMSettingConnection.
Fixes: 06da353242
This commit is contained in:
parent
e0fa48f224
commit
3227778d89
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ find_ac_for_connection (NMManager *manager, NMConnection *connection)
|
|||
|
||||
is_settings_connection = NM_IS_SETTINGS_CONNECTION (connection);
|
||||
|
||||
if (is_settings_connection)
|
||||
if (!is_settings_connection)
|
||||
uuid = nm_connection_get_uuid (connection);
|
||||
|
||||
for (iter = priv->active_connections; iter; iter = iter->next) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue