summaryrefslogtreecommitdiff
path: root/python/vyos/configdict.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-13 12:34:10 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-13 12:34:15 +0200
commit67ca26dc6f6e548dfd0a1bc787aa039d96450b97 (patch)
treec1ba321ab09b882683461a7d04d30691e88613f9 /python/vyos/configdict.py
parent177de5378a1e9e6983e34ef4a5244310b78d870a (diff)
downloadvyos-1x-67ca26dc6f6e548dfd0a1bc787aa039d96450b97.tar.gz
vyos-1x-67ca26dc6f6e548dfd0a1bc787aa039d96450b97.zip
Python/ifconfig: T1557: add support for DHCPv6 client options
Diffstat (limited to 'python/vyos/configdict.py')
-rw-r--r--python/vyos/configdict.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index 1022b88de..983906923 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -152,11 +152,11 @@ def vlan_to_dict(conf):
# DHCPv6 only acquire config parameters, no address
if conf.exists('dhcpv6-options parameters-only'):
- vlan['dhcpv6_prm_only'] = conf.return_value('dhcpv6-options parameters-only')
+ vlan['dhcpv6_prm_only'] = True
# DHCPv6 temporary IPv6 address
if conf.exists('dhcpv6-options temporary'):
- vlan['dhcpv6_temporary'] = conf.return_value('dhcpv6-options temporary')
+ vlan['dhcpv6_temporary'] = True
# ignore link state changes
if conf.exists('disable-link-detect'):