diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-10-10 18:35:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-10 18:35:16 +0200 |
commit | adc9af1983657589b95f8e42f83a8d02cc731402 (patch) | |
tree | ef8f37e6e65c798d93050f96893c07ce84361826 /data/templates | |
parent | 8bd4c4136a248eebdd6d59f8132d394cc1033c29 (diff) | |
parent | 98f4cc81235b42e602017fda98ab0fc4d22db565 (diff) | |
download | vyos-1x-adc9af1983657589b95f8e42f83a8d02cc731402.tar.gz vyos-1x-adc9af1983657589b95f8e42f83a8d02cc731402.zip |
Merge pull request #1576 from sever-sever/T4730
conntrack-sync: T4730: Fix listen-address jinja2 template
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/conntrackd/conntrackd.conf.j2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/conntrackd/conntrackd.conf.j2 b/data/templates/conntrackd/conntrackd.conf.j2 index 66024869d..808a77759 100644 --- a/data/templates/conntrackd/conntrackd.conf.j2 +++ b/data/templates/conntrackd/conntrackd.conf.j2 @@ -9,7 +9,9 @@ Sync { {% if iface_config.peer is vyos_defined %} UDP { {% if listen_address is vyos_defined %} - 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 vyos_defined else '3780' }} |