From 50e65d0ccd2f6b09f5591670f99b30f5fe80b8bb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Jun 2020 10:58:06 +0200 Subject: 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. --- python/vyos/configdict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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': '', -- cgit v1.2.3