From 021f31d933adc41415146d71a7d0eec56ba3d329 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 29 Jul 2022 12:35:03 +0200 Subject: [PATCH] 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 8e8fed433f22 ('bridge: add reapply support') --- src/core/devices/nm-device-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/devices/nm-device-bridge.c b/src/core/devices/nm-device-bridge.c index 638c0a5d0a..f92aa46bcb 100644 --- a/src/core/devices/nm-device-bridge.c +++ b/src/core/devices/nm-device-bridge.c @@ -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); }