summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-19 20:58:13 +0200
committerGitHub <noreply@github.com>2023-07-19 20:58:13 +0200
commitd2540ac4c6fc05991b18cf0e2434fbb6d5f3c2cf (patch)
tree0b70aa0081cd3a1fb0d10133930827451a20dc92 /data/templates
parent8cf1a827e09f57efd5a4c38226048d15ebbf4a21 (diff)
parent00ce5e2b81d940c0dec7d13acdb4368ba78913f5 (diff)
downloadvyos-1x-d2540ac4c6fc05991b18cf0e2434fbb6d5f3c2cf.tar.gz
vyos-1x-d2540ac4c6fc05991b18cf0e2434fbb6d5f3c2cf.zip
Merge pull request #2099 from aapostoliuk/T5362-sagitta
high-availability: T5362: Fixed setting vrrp version
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/high-availability/keepalived.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2
index 47408e345..d54f575b5 100644
--- a/data/templates/high-availability/keepalived.conf.j2
+++ b/data/templates/high-availability/keepalived.conf.j2
@@ -25,9 +25,9 @@ global_defs {
{% if vrrp.global_parameters.garp.master_repeat is vyos_defined %}
vrrp_garp_master_repeat {{ vrrp.global_parameters.garp.master_repeat }}
{% endif %}
-{% if vrrp.global_parameters.version is vyos_defined %}
+{% endif %}
+{% if vrrp.global_parameters.version is vyos_defined %}
vrrp_version {{ vrrp.global_parameters.version }}
-{% endif %}
{% endif %}
notify_fifo /run/keepalived/keepalived_notify_fifo
notify_fifo_script /usr/libexec/vyos/system/keepalived-fifo.py