summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-bridge.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-24 10:17:20 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-24 16:40:10 +0000
commitcddd596a0e03a0ecbbe63bba4f64e9932d02d01f (patch)
tree306032c313424baf7f1a741d43ffde76298ef5ee /src/conf_mode/interfaces-bridge.py
parent50ec7b3cd28d1dec1592a141f4eaf2e5c7082ba3 (diff)
downloadvyos-1x-cddd596a0e03a0ecbbe63bba4f64e9932d02d01f.tar.gz
vyos-1x-cddd596a0e03a0ecbbe63bba4f64e9932d02d01f.zip
T5837: cleanup use of calls to vyos.configdict.node_changed()
node_changed() will return a list of changed keys under "path". We are not always interested what changed, sometimes we are only interested if something changed at all, that what vyos.configdict.is_node_changed() is for. (cherry picked from commit 5e7a8288d06a6d6beee5e1abd2e06698ab778650)
Diffstat (limited to 'src/conf_mode/interfaces-bridge.py')
-rwxr-xr-xsrc/conf_mode/interfaces-bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-bridge.py b/src/conf_mode/interfaces-bridge.py
index 31508a3c5..29991e2da 100755
--- a/src/conf_mode/interfaces-bridge.py
+++ b/src/conf_mode/interfaces-bridge.py
@@ -49,7 +49,7 @@ def get_config(config=None):
ifname, bridge = get_interface_dict(conf, base)
# determine which members have been removed
- tmp = node_changed(conf, base + [ifname, 'member', 'interface'], key_mangling=('-', '_'))
+ tmp = node_changed(conf, base + [ifname, 'member', 'interface'])
if tmp:
if 'member' in bridge:
bridge['member'].update({'interface_remove' : tmp })