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

<accept>{%- if rule.accept is mapping and 'limit' in rule.accept %} <limit value="{{ rule.accept.limit }}"/>{%- endif %}</accept> <accept>{%- if rule.accept is mapping and 'limit' in rule.accept %} <limit value="{{ rule.accept.limit }}"/>{%- endif %}</accept>
{%- endif %} {%- endif %}
{%- if 'reject' in rule %} {%- 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 %} {%- endif %}
{%- if 'drop' in rule %} {%- if 'drop' in rule %}
<drop/> <drop/>

Loading…
Cancel
Save