fix(zone.xml): fix XML error
This commit is contained in:
parent
33f16da093
commit
88f9fd4687
@ -14,10 +14,10 @@
|
|||||||
<source ipset="{{ rule.ipset.name }}" />
|
<source ipset="{{ rule.ipset.name }}" />
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'source' in rule %}
|
{%- 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 %}
|
{%- endif %}
|
||||||
{%- if 'destination' in rule %}
|
{%- 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 %}
|
{%- endif %}
|
||||||
{%- if 'service' in rule %}
|
{%- if 'service' in rule %}
|
||||||
<service name="{{ rule.service }}" />
|
<service name="{{ rule.service }}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user