summaryrefslogtreecommitdiff
path: root/python/vyos/configdict.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/configdict.py')
-rw-r--r--python/vyos/configdict.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index c89447163..ead7e8637 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -234,9 +234,9 @@ def intf_to_dict(conf, default):
# DHCPv6 prefix delegation (RFC3633)
current_level = conf.get_level()
- if conf.exists(['dhcpv6-options', 'delegate']):
- for interface in conf.list_nodes(['dhcpv6-options', 'delegate']):
- conf.set_level(current_level + ['dhcpv6-options', 'delegate', interface])
+ if conf.exists(['dhcpv6-options', 'prefix-delegation']):
+ for interface in conf.list_nodes(['dhcpv6-options', 'prefix-delegation', 'interface']):
+ conf.set_level(current_level + ['dhcpv6-options', 'prefix-delegation', 'interface', interface])
pd = {
'ifname': interface,
'sla_id': '',