Remove name attribute in icmp-block-inversion

Firewalld does not parse the name attribute.

Log message:
firewalld[1999]: ERROR: Failed to load zone file 'public.xml':
PARSE_ERROR: icmp-block-inversion: Unexpected attribute name
This commit is contained in:
Steven Daniele 2019-11-08 10:37:31 -05:00
parent 9646ead4b4
commit 12b696a8fe

View File

@ -56,8 +56,8 @@
<icmp-block name="{{ v }}" /> <icmp-block name="{{ v }}" />
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- if 'icmp_block_inversion' in zone %} {%- if 'icmp_block_inversion' in zone and zone.icmp_block_inversion %}
<icmp-block-inversion name="{{ zone.icmp_block_inversion }}" /> <icmp-block-inversion />
{%- endif %} {%- endif %}
{%- if 'masquerade' in zone %} {%- if 'masquerade' in zone %}
{%- if zone.masquerade %} {%- if zone.masquerade %}