From 2d4db25386fcefd301868a4daa39d5578cbac779 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Sat, 13 Jan 2024 00:29:49 +0100 Subject: dhcpv6: T3316: Add `listen-interface` as supported by Kea --- data/templates/dhcp-server/kea-dhcp6.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/templates/dhcp-server/kea-dhcp6.conf.j2') diff --git a/data/templates/dhcp-server/kea-dhcp6.conf.j2 b/data/templates/dhcp-server/kea-dhcp6.conf.j2 index 3ce4e6370..3ab21551b 100644 --- a/data/templates/dhcp-server/kea-dhcp6.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp6.conf.j2 @@ -1,7 +1,11 @@ { "Dhcp6": { "interfaces-config": { +{% if listen_interface is vyos_defined %} + "interfaces": {{ listen_interface | tojson }}, +{% else %} "interfaces": [ "*" ], +{% endif %} "service-sockets-max-retries": 5, "service-sockets-retry-wait-time": 5000 }, -- cgit v1.2.3