fix(zone.xml): fix jinja error in rule.reject
This commit is contained in:
parent
88f9fd4687
commit
194cb99f16
@ -63,7 +63,7 @@
|
||||
<accept>{%- if rule.accept is mapping and 'limit' in rule.accept %} <limit value="{{ rule.accept.limit }}"/>{%- endif %}</accept>
|
||||
{%- endif %}
|
||||
{%- if 'reject' in rule %}
|
||||
<reject{%- if 'type' in rule.reject %} type="{{ rule.reject.type }}"{%- endif %} />
|
||||
<reject{%- if rule.reject is mapping and 'type' in rule.reject %} type="{{ rule.reject.type }}"{%- endif %} />
|
||||
{%- endif %}
|
||||
{%- if 'drop' in rule %}
|
||||
<drop/>
|
||||
|
Loading…
Reference in New Issue
Block a user