summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-12 22:24:37 +0200
committerGitHub <noreply@github.com>2024-08-12 22:24:37 +0200
commita21b795180b98f264468c30a33da83cc56bfe21d (patch)
treea21abb8630b1bb2b8bd9187c20ebd96145e3bb93 /python
parent709bbddb3ee710c45284a8927b15889811ccb0fd (diff)
parenta2b6098e6f9c1915a61a9aebc8f9852bd897387c (diff)
downloadvyos-1x-a21b795180b98f264468c30a33da83cc56bfe21d.tar.gz
vyos-1x-a21b795180b98f264468c30a33da83cc56bfe21d.zip
Merge pull request #3970 from lucasec/t6648
T6648: dhcpv6-server: align stateless DHCPv6 options with stateful
Diffstat (limited to 'python')
-rw-r--r--python/vyos/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/template.py b/python/vyos/template.py
index 3507e0940..aa99bed5a 100644
--- a/python/vyos/template.py
+++ b/python/vyos/template.py
@@ -922,8 +922,8 @@ def kea6_shared_network_json(shared_networks):
'subnet6': []
}
- if 'common_options' in config:
- network['option-data'] = kea6_parse_options(config['common_options'])
+ if 'option' in config:
+ network['option-data'] = kea6_parse_options(config['option'])
if 'interface' in config:
network['interface'] = config['interface']