summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-29 20:00:18 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-29 20:01:38 +0200
commitcefc7ce9bfcf7750700e73edbc21864fe8ab0bee (patch)
treecab0b8589f0052a3de32efdd7c79a2ebb3ec3b9d /data
parent6b64f2eeb192ee1133d3f90be2ae2854a0c00ddc (diff)
downloadvyos-1x-cefc7ce9bfcf7750700e73edbc21864fe8ab0bee.tar.gz
vyos-1x-cefc7ce9bfcf7750700e73edbc21864fe8ab0bee.zip
router-advert: T4477: support RDNSS lifetime option
set service router-advert interface eth0 name-server-lifetime <value>
Diffstat (limited to 'data')
-rw-r--r--data/templates/router-advert/radvd.conf.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/router-advert/radvd.conf.j2 b/data/templates/router-advert/radvd.conf.j2
index 6902dc05a..ed15b32f0 100644
--- a/data/templates/router-advert/radvd.conf.j2
+++ b/data/templates/router-advert/radvd.conf.j2
@@ -55,6 +55,9 @@ interface {{ iface }} {
{% endif %}
{% if iface_config.name_server is vyos_defined %}
RDNSS {{ iface_config.name_server | join(" ") }} {
+{% if iface_config.name_server_lifetime is vyos_defined %}
+ AdvRDNSSLifetime {{ iface_config.name_server_lifetime }};
+{% endif %}
};
{% endif %}
{% if iface_config.dnssl is vyos_defined %}