summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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': '',