summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-10-12 15:09:39 +0300
committerGitHub <noreply@github.com>2022-10-12 15:09:39 +0300
commitf54f1387c7e50e108b3bfaeab2331b845cca25fc (patch)
tree19667520eab4a4759278fa6facdd21ee5efa81aa
parentbf949ddcc1b9943ea4cf11ec42f140d0fabde9d3 (diff)
parent15a649e163fa9ac89d690e25bcb8f81fcefe87ae (diff)
downloadvyos-1x-f54f1387c7e50e108b3bfaeab2331b845cca25fc.tar.gz
vyos-1x-f54f1387c7e50e108b3bfaeab2331b845cca25fc.zip
Merge pull request #1582 from sever-sever/T4730-eq
conntrack-sync: T4730: Fix listen-address jinja2 template
-rw-r--r--data/templates/conntrackd/conntrackd.conf.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/conntrackd/conntrackd.conf.tmpl b/data/templates/conntrackd/conntrackd.conf.tmpl
index ff6f785d5..7ec8a727c 100644
--- a/data/templates/conntrackd/conntrackd.conf.tmpl
+++ b/data/templates/conntrackd/conntrackd.conf.tmpl
@@ -10,7 +10,9 @@ Sync {
{% if iface_config.peer is defined and iface_config.peer is not none %}
UDP {
{% if listen_address is defined and listen_address is not none %}
- IPv4_address {{ listen_address }}
+{% for address in listen_address %}
+ IPv4_address {{ address }}
+{% endfor %}
{% endif %}
IPv4_Destination_Address {{ iface_config.peer }}
Port {{ iface_config.port if iface_config.port is defined else '3780' }}