firewall: fix 'aliases' is undefined error

This commit is contained in:
Franco Fichtner 2018-01-16 20:12:34 +01:00
parent 3869385096
commit bba40c9789

View File

@ -4,7 +4,7 @@
<ssl_no_verify>1</ssl_no_verify>
{% endif %}
</general>
{% if aliases.alias %}}
{% if helpers.exists('aliases.alias') %}}
{% for alias in helpers.toList('aliases.alias') %}
{% if alias.type.find('port') == -1 %}
<table>