mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 23:10:18 +01:00
core: fix find_vlan_parent() to return proper device (bgo #695362)
when VLAN parent device is identified through a connection UUID
This commit is contained in:
parent
0e92228476
commit
8e748bced8
1 changed files with 1 additions and 1 deletions
|
|
@ -1029,7 +1029,7 @@ find_vlan_parent (NMManager *self,
|
|||
if (req) {
|
||||
candidate = nm_active_connection_get_connection (NM_ACTIVE_CONNECTION (req));
|
||||
if (candidate == parent_connection)
|
||||
return parent;
|
||||
return NM_DEVICE (iter->data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue