From 28898e4477727c5d4406c227b0d056e6dfc1ce39 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Thu, 14 May 2026 03:13:05 -0500 Subject: dhcpv6: T8862: Allow multiple addresses and prefixes for reservations Add support for allowing DHCPv6 to assign reservations for multiple addresses and prefixes to a single client simultaneously. --- python/vyos/kea.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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']) -- cgit v1.2.3