summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-06 10:58:06 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-06 10:58:06 +0200
commit50e65d0ccd2f6b09f5591670f99b30f5fe80b8bb (patch)
tree7ecbac492616b71a9c22ff18282f054f73e537c1 /python
parent728b1feaf7444545100b9cba7977c90b75f01029 (diff)
downloadvyos-1x-50e65d0ccd2f6b09f5591670f99b30f5fe80b8bb.tar.gz
vyos-1x-50e65d0ccd2f6b09f5591670f99b30f5fe80b8bb.zip
dhcpv6-pd: T2551: fixup configuration path
Commit 728b1feaf744 ("dhcpv6-pd: T2551: fix prefix length not set in config") reworked the way the configuration path is accesses on the individual interfaces, but it was missed out to apply it correctly when reading in sla-len and sla-id values.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configdict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index 824ca1f71..4708d3b50 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -244,7 +244,7 @@ def intf_to_dict(conf, default):
intf['dhcpv6_pd_length'] = conf.return_value(['length'])
for interface in conf.list_nodes(['interface']):
- conf.set_level(current_level + ['interface', interface])
+ conf.set_level(dhcpv6_pd_path + ['interface', interface])
pd = {
'ifname': interface,
'sla_id': '',