diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-13 00:29:49 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2024-01-13 02:37:30 +0100 |
commit | 2d4db25386fcefd301868a4daa39d5578cbac779 (patch) | |
tree | ddb0abcacf25ae3abbf85f05fddd4695c3378fcd /data/templates/dhcp-server/kea-dhcp6.conf.j2 | |
parent | 45d472c8782f927980044eaba0d49421e91fc0c8 (diff) | |
download | vyos-1x-2d4db25386fcefd301868a4daa39d5578cbac779.tar.gz vyos-1x-2d4db25386fcefd301868a4daa39d5578cbac779.zip |
dhcpv6: T3316: Add `listen-interface` as supported by Kea
Diffstat (limited to 'data/templates/dhcp-server/kea-dhcp6.conf.j2')
-rw-r--r-- | data/templates/dhcp-server/kea-dhcp6.conf.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
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 }, |