mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 12:20:38 +01:00
bridge: fix reapply of non-bridge properties
Return was ommited in a branch that delegates settings check to a parent
class, resulting in a bridge property check applied incorrectly.
Fixes: commit 8e8fed433f ('bridge: add reapply support')
This commit is contained in:
parent
7864e75e96
commit
021f31d933
1 changed files with 1 additions and 1 deletions
|
|
@ -1162,7 +1162,7 @@ can_reapply_change(NMDevice *device,
|
|||
{
|
||||
/* Delegate changes to other settings to parent class */
|
||||
if (!nm_streq(setting_name, NM_SETTING_BRIDGE_SETTING_NAME)) {
|
||||
NM_DEVICE_CLASS(nm_device_bridge_parent_class)
|
||||
return NM_DEVICE_CLASS(nm_device_bridge_parent_class)
|
||||
->can_reapply_change(device, setting_name, s_old, s_new, diffs, error);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue