diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-13 13:18:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 13:18:26 +0100 |
commit | 4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f (patch) | |
tree | ce70aa88cdd993bba7b797adef58b7ee6162aa76 /data/templates | |
parent | 729d6785686284a61504dbfb8217888a485510dd (diff) | |
parent | 306e83a66e2e580417d87e3871200cad6c09cb49 (diff) | |
download | vyos-1x-4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f.tar.gz vyos-1x-4dfc9b7c195e9cf3f57afbf8c84d701b73e83a8f.zip |
Merge pull request #3129 from vyos/mergify/bp/sagitta/pr-3125
radvd: T6118: add nat64prefix support RFC8781 (backport #3125)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/router-advert/radvd.conf.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/router-advert/radvd.conf.j2 b/data/templates/router-advert/radvd.conf.j2 index 4ef4751dd..97180d164 100644 --- a/data/templates/router-advert/radvd.conf.j2 +++ b/data/templates/router-advert/radvd.conf.j2 @@ -50,6 +50,13 @@ interface {{ iface }} { {% endfor %} }; {% endif %} +{% if iface_config.nat64prefix is vyos_defined %} +{% for nat64prefix, nat64prefix_options in iface_config.nat64prefix.items() %} + nat64prefix {{ nat64prefix }} { + AdvValidLifetime {{ nat64prefix_options.valid_lifetime }}; + }; +{% endfor %} +{% endif %} {% if iface_config.prefix is vyos_defined %} {% for prefix, prefix_options in iface_config.prefix.items() %} prefix {{ prefix }} { |