mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
bridge: fix reapply of vlan_filtering and default_pvid
Fixes: 8e8fed433f
('bridge: add reapply support')
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1327
This commit is contained in:
parent
cf141f3e7a
commit
5cf96c4db2
|
@ -1209,6 +1209,10 @@ reapply_connection(NMDevice *device, NMConnection *con_old, NMConnection *con_ne
|
|||
s_bridge = nm_connection_get_setting_bridge(con_new);
|
||||
g_return_if_fail(s_bridge);
|
||||
|
||||
/* Make sure bridge_set_vlan_options() called by link_config()
|
||||
* sets vlan_filtering and default_pvid anew. */
|
||||
self->vlan_configured = FALSE;
|
||||
|
||||
link_config(device, con_new);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue