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:
Lubomir Rintel 2022-07-29 12:35:03 +02:00
parent 7864e75e96
commit 021f31d933

View file

@ -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);
}