Skip to content

Commit

Permalink
fix(zone.xml): fix XML error
Browse files Browse the repository at this point in the history
  • Loading branch information
genaumann committed Apr 25, 2021
1 parent 33f16da commit 88f9fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firewalld/files/zone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<source ipset="{{ rule.ipset.name }}" />
{%- endif %}
{%- if 'source' in rule %}
<source address="{{ rule.source.address }}" {%- if 'invert' in rule.source %}invert="{{ rule.source.invert }}"{%- endif %} />
<source address="{{ rule.source.address }}" {%- if 'invert' in rule.source %} invert="{{ rule.source.invert }}"{%- endif %} />
{%- endif %}
{%- if 'destination' in rule %}
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %} />
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %} invert="{{ rule.destination.invert }}"{%- endif %} />
{%- endif %}
{%- if 'service' in rule %}
<service name="{{ rule.service }}" />
Expand Down

0 comments on commit 88f9fd4

Please sign in to comment.