mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 06:48:00 +02:00
settings: fix a reversed conditional in have_connection_for_device()
https://bugzilla.redhat.com/show_bug.cgi?id=1727411
Fixes: be0018382d ('settings: in have_connection_for_device() first skip over irrelevant connection types')
This commit is contained in:
parent
deba9c4b86
commit
c610667286
1 changed files with 1 additions and 1 deletions
|
|
@ -1505,7 +1505,7 @@ have_connection_for_device (NMSettings *self, NMDevice *device)
|
|||
continue;
|
||||
|
||||
iface = nm_setting_connection_get_interface_name (s_con);
|
||||
if (nm_streq0 (iface, nm_device_get_iface (device)))
|
||||
if (!nm_streq0 (iface, nm_device_get_iface (device)))
|
||||
continue;
|
||||
|
||||
s_wired = nm_connection_get_setting_wired (connection);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue