summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-04 06:48:43 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-04 06:48:43 +0100
commita929d58f333c39272580a48b2fc467118105bbcf (patch)
treefde09f7f5de5a364b87ff453f0e303776c392923 /python
parentbb78f3a9ad28f62896a536719783011794deb64c (diff)
downloadvyos-1x-a929d58f333c39272580a48b2fc467118105bbcf.tar.gz
vyos-1x-a929d58f333c39272580a48b2fc467118105bbcf.zip
interface: T4203: bugfix Q-in-Q interface parsing
Commit 0e23fc10 ("interface: T4203: switch to new recursive node_changed() implementation") switched to a new implementation to retrieve nested changes under a CLI node. Unfortunately the new API was not called - instead the old one was used.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configdict.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index b8f428c1c..551c27b67 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -574,8 +574,7 @@ def get_interface_dict(config, base, ifname=''):
{'is_bridge_member' : bridge})
# Check if any DHCP options changed which require a client restat
- dhcp = leaf_node_changed(config, ['vif-s', vif_s, 'vif-c', vif_c,
- 'dhcp-options'], recursive=True)
+ dhcp = node_changed(config, ['vif-s', vif_s, 'vif-c', vif_c, 'dhcp-options'], recursive=True)
if dhcp: dict['vif_s'][vif_s]['vif_c'][vif_c].update({'dhcp_options_changed' : ''})
# Check vif, vif-s/vif-c VLAN interfaces for removal