summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-29 21:15:51 +0100
committerGitHub <noreply@github.com>2021-12-29 21:15:51 +0100
commit78ad5ce69e6fc8b7a9d0abc0f8c0376bb9224ed7 (patch)
tree219d4f577abd41684c65a35d27f4f675714780c5 /data
parentd2ca2ac1cf9cacd44a04fbb6da9a884c23f043f6 (diff)
parent76a917281ddbb6a5c17dee8195ee00d656484ba2 (diff)
downloadvyos-1x-78ad5ce69e6fc8b7a9d0abc0f8c0376bb9224ed7.tar.gz
vyos-1x-78ad5ce69e6fc8b7a9d0abc0f8c0376bb9224ed7.zip
Merge pull request #1126 from justsecure/current
webproxy: T4116: Ability to listen on IPv6 addresses
Diffstat (limited to 'data')
-rw-r--r--data/templates/squid/squid.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/squid/squid.conf.tmpl b/data/templates/squid/squid.conf.tmpl
index 80826fc75..26aff90bf 100644
--- a/data/templates/squid/squid.conf.tmpl
+++ b/data/templates/squid/squid.conf.tmpl
@@ -88,7 +88,7 @@ tcp_outgoing_address {{ outgoing_address }}
{% if listen_address is defined and listen_address is not none %}
{% for address, config in listen_address.items() %}
-http_port {{ address }}:{{ config.port if config.port is defined else default_port }} {{ 'intercept' if config.disable_transparent is not defined }}
+http_port {{ address | bracketize_ipv6 }}:{{ config.port if config.port is defined else default_port }} {{ 'intercept' if config.disable_transparent is not defined }}
{% endfor %}
{% endif %}
http_port 127.0.0.1:{{ default_port }}