summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-09 20:52:35 +0100
committerGitHub <noreply@github.com>2022-01-09 20:52:35 +0100
commit897510fe6fdf85ce23699a7aace187433367c2b4 (patch)
tree2c813858c9e4ca1ed77ade303734c47c7d612479 /data/templates
parent17ea91accc4bece660d97d36af2bdc002c8df89e (diff)
parentfb464f0b7654add88e1b95e7862296eb711d65c3 (diff)
downloadvyos-1x-897510fe6fdf85ce23699a7aace187433367c2b4.tar.gz
vyos-1x-897510fe6fdf85ce23699a7aace187433367c2b4.zip
Merge pull request #1142 from sever-sever/T4150
keepalived: T4150: Fix template option conntrack_sync_group
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/high-availability/keepalived.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/keepalived.conf.tmpl b/data/templates/high-availability/keepalived.conf.tmpl
index afd5f5383..bb54752fc 100644
--- a/data/templates/high-availability/keepalived.conf.tmpl
+++ b/data/templates/high-availability/keepalived.conf.tmpl
@@ -103,7 +103,7 @@ vrrp_sync_group {{ name }} {
{% endif %}
{% endfor %}
{% endif %}
-{% if vrrp.conntrack_sync_group is defined and vrrp.conntrack_sync_group == name %}
+{% if conntrack_sync_group is defined and conntrack_sync_group == name %}
{% set vyos_helper = "/usr/libexec/vyos/vyos-vrrp-conntracksync.sh" %}
notify_master "{{ vyos_helper }} master {{ name }}"
notify_backup "{{ vyos_helper }} backup {{ name }}"