summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-17 22:45:13 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-17 22:45:16 +0200
commit740ace13f36b78583434eabfbd324cf3d29e909d (patch)
tree22ebbd4e967e834f8a9790d6d11e52b26535d64e /data
parent197043f52f037e43d993c77d2e1947e649a34d72 (diff)
downloadvyos-1x-740ace13f36b78583434eabfbd324cf3d29e909d.tar.gz
vyos-1x-740ace13f36b78583434eabfbd324cf3d29e909d.zip
router-advert: T2609: add missing verify() for prefix lifetime
radvd[31898]: AdvValidLifeTime must be greater than AdvPreferredLifetime in radvd.conf, line 19 This happens with the following configuration: vyos@vyos# show service router-advert interface eth0.20 { name-server 2001:4860:4860::8888 prefix ::/64 { valid-lifetime 7200 } } A validator is added to solve this issue and radvd will run again.
Diffstat (limited to 'data')
-rw-r--r--data/templates/router-advert/radvd.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/router-advert/radvd.conf.tmpl b/data/templates/router-advert/radvd.conf.tmpl
index 2768f6f2e..073623eac 100644
--- a/data/templates/router-advert/radvd.conf.tmpl
+++ b/data/templates/router-advert/radvd.conf.tmpl
@@ -1,4 +1,4 @@
-### Autogenerated by service-router-advert.py ###
+### Autogenerated by service_router-advert.py ###
{% for i in interfaces -%}
interface {{ i.name }} {