Browse Source

fix(zone.xml): fix jinja error in rule.reject

tags/v1.2.1
Gino Naumann 3 years ago
parent
commit
194cb99f16
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      firewalld/files/zone.xml

+ 1
- 1
firewalld/files/zone.xml View File

@@ -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…
Cancel
Save