summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-27 20:03:07 +0200
committerGitHub <noreply@github.com>2023-06-27 20:03:07 +0200
commit6efdecdaa20359b56d1ff856c9f6f1f736f77a7f (patch)
tree1cf63b0e4c658079a4de9310ad514d524d7ca8a5 /data
parent9c756d5dd20ee059b76a3e8ba2d5602e5a9bbefc (diff)
parente8ab66da5342579a412de090d827fcb0a0bb0e57 (diff)
downloadvyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.tar.gz
vyos-1x-6efdecdaa20359b56d1ff856c9f6f1f736f77a7f.zip
Merge pull request #2058 from c-po/vrrp-t5315-backport
vrrp: T5315: add support to explicitly specify version (backport)
Diffstat (limited to 'data')
-rw-r--r--data/templates/vrrp/keepalived.conf.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl
index 6203184e3..4bbd56584 100644
--- a/data/templates/vrrp/keepalived.conf.tmpl
+++ b/data/templates/vrrp/keepalived.conf.tmpl
@@ -9,6 +9,9 @@ global_defs {
{% if global_parameters.startup_delay is defined %}
vrrp_startup_delay {{ global_parameters.startup_delay }}
{% endif %}
+{% if global_parameters.version is defined %}
+ vrrp_version {{ global_parameters.version }}
+{% endif %}
{% endif %}
notify_fifo /run/keepalived/keepalived_notify_fifo
notify_fifo_script /usr/libexec/vyos/system/keepalived-fifo.py