From 00ce5e2b81d940c0dec7d13acdb4368ba78913f5 Mon Sep 17 00:00:00 2001 From: aapostoliuk Date: Wed, 19 Jul 2023 17:13:26 +0300 Subject: high-availability: T5362: Fixed setting vrrp version Fixed setting vrrp version --- data/templates/high-availability/keepalived.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/templates/high-availability') 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 -- cgit v1.2.3