mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 04:40:04 +01:00
device: accept changes to the bond-port.vlans during reapply
Commitc5d1e35f99('device: support reapplying bridge-port VLANs') didn't update can_reapply_change() to accept the "bridge-port.vlans" property during a reapply. So, it was only possible to change the bridge port VLANs by updating the "bridge.vlan-default-pvid" property and doing a reapply. Fix that. Fixes:c5d1e35f99('device: support reapplying bridge-port VLANs')
This commit is contained in:
parent
bf79fbd678
commit
261fa8db33
1 changed files with 7 additions and 0 deletions
|
|
@ -14050,6 +14050,13 @@ can_reapply_change(NMDevice *self,
|
|||
goto out_fail;
|
||||
}
|
||||
|
||||
if (nm_streq(setting_name, NM_SETTING_BRIDGE_PORT_SETTING_NAME)) {
|
||||
return nm_device_hash_check_invalid_keys(diffs,
|
||||
NM_SETTING_BRIDGE_PORT_SETTING_NAME,
|
||||
error,
|
||||
NM_SETTING_BRIDGE_PORT_VLANS);
|
||||
}
|
||||
|
||||
if (nm_streq(setting_name, NM_SETTING_SRIOV_SETTING_NAME)) {
|
||||
return nm_device_hash_check_invalid_keys(diffs,
|
||||
NM_SETTING_SRIOV_SETTING_NAME,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue