diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-13 20:12:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 20:12:33 +0100 |
commit | 9753fafbfed02a3b6ebe7b6ddf51783c5dcbcf62 (patch) | |
tree | 929c8b42867462edad25b8028bac07b78c89b6fb /data/templates | |
parent | fef091bd6dc5c3cdfae47e9adb86f610a75a8a4d (diff) | |
parent | 2d4db25386fcefd301868a4daa39d5578cbac779 (diff) | |
download | vyos-1x-9753fafbfed02a3b6ebe7b6ddf51783c5dcbcf62.tar.gz vyos-1x-9753fafbfed02a3b6ebe7b6ddf51783c5dcbcf62.zip |
Merge pull request #2817 from sarthurdev/kea6-options
dhcpv6: T3316: Extend scope of DHCP options, bugfixes
Diffstat (limited to 'data/templates')
-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 }, |