summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-11 20:10:55 +0200
committerGitHub <noreply@github.com>2023-07-11 20:10:55 +0200
commit484259af7d2530601faacf7ad741523c5f93622a (patch)
tree2fa138b18666172d0765e3d8a1882a98d7cc9238 /data/templates
parent16f7d593e841b73b2fa4b8120f4bb8e66c4321b3 (diff)
parent60be130df1b5918c3bf1a460fdf65c5fa0e59253 (diff)
downloadvyos-1x-484259af7d2530601faacf7ad741523c5f93622a.tar.gz
vyos-1x-484259af7d2530601faacf7ad741523c5f93622a.zip
Merge pull request #2084 from sever-sever/T5341
T5341: HA migrate virtual-server address tag to section address
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/high-availability/keepalived.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/high-availability/keepalived.conf.j2 b/data/templates/high-availability/keepalived.conf.j2
index bcd92358f..47408e345 100644
--- a/data/templates/high-availability/keepalived.conf.j2
+++ b/data/templates/high-availability/keepalived.conf.j2
@@ -173,7 +173,7 @@ vrrp_sync_group {{ name }} {
{% for vserver, vserver_config in virtual_server.items() %}
# Vserver {{ vserver }}
{% if vserver_config.port is vyos_defined %}
-virtual_server {{ vserver }} {{ vserver_config.port }} {
+virtual_server {{ vserver_config.address }} {{ vserver_config.port }} {
{% else %}
virtual_server fwmark {{ vserver_config.fwmark }} {
{% endif %}