summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2022-01-08 11:09:17 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-08 11:09:17 +0000
commitfb464f0b7654add88e1b95e7862296eb711d65c3 (patch)
tree9803afb78a833a1a22f0cda28b986729e03936e7 /data/templates
parentb4ac2f6479bb618a54b7dff533ae15b9a9bf8831 (diff)
downloadvyos-1x-fb464f0b7654add88e1b95e7862296eb711d65c3.tar.gz
vyos-1x-fb464f0b7654add88e1b95e7862296eb711d65c3.zip
keepalived: T4150: Fix template option conntrack_sync_group
conntrack_sync_group option not under 'vrrp' section but part of high-avalability dictionary
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 }}"