summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/kea.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/kea.py b/python/vyos/kea.py
index 068e2cf7a..436c134c8 100644
--- a/python/vyos/kea.py
+++ b/python/vyos/kea.py
@@ -385,10 +385,10 @@ def kea6_parse_subnet(subnet, config):
reservation['duid'] = host_config['duid']
if 'ipv6_address' in host_config:
- reservation['ip-addresses'] = [host_config['ipv6_address']]
+ reservation['ip-addresses'] = host_config['ipv6_address']
if 'ipv6_prefix' in host_config:
- reservation['prefixes'] = [host_config['ipv6_prefix']]
+ reservation['prefixes'] = host_config['ipv6_prefix']
if 'option' in host_config:
reservation['option-data'] = kea6_parse_options(host_config['option'])