Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy: template issue with multiple interfaces? #264

Closed
fichtner opened this issue Jul 20, 2015 · 2 comments
Closed

proxy: template issue with multiple interfaces? #264

fichtner opened this issue Jul 20, 2015 · 2 comments
Assignees
Labels
bug Production bug
Milestone

Comments

@fichtner
Copy link
Member

Expected behaviour:

http_port 192.168.1.1:3128
http_port 192.168.3.1:3128

Actual behaviour:

http_port 192.168.1.1:3128 http_port 192.168.3.1:3128

Resulting in "Bungled /usr/local/etc/squid/squid.conf line 6: http_port 192.168.1.1:3128 http_port 192.168.3.1:3128".

via: https://forum.opnsense.org/index.php?topic=1096.0

@fichtner fichtner added the bug Production bug label Jul 20, 2015
@fichtner fichtner added this to the 16.1 milestone Jul 20, 2015
AdSchellevis added a commit that referenced this issue Jul 20, 2015
when a conditional is the last stament on the line, either make sure there's an extra new line or add some characters behind it.
"trim_blocks" is removing this new line otherwise (http://jinja.pocoo.org/docs/dev/api/#basics).
@AdSchellevis
Copy link
Member

Fixed in a6f879f

AdSchellevis added a commit that referenced this issue Jul 20, 2015
when a conditional is the last stament on the line, either make sure there's an extra new line or add some characters behind it.
"trim_blocks" is removing this new line otherwise (http://jinja.pocoo.org/docs/dev/api/#basics).
@fichtner
Copy link
Member Author

Also merged to stable, thanks for the quick response. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

2 participants