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 }}" />
{%- endfor %}
{%- endif %}
{%- if 'icmp_block_inversion' in zone %}
<icmp-block-inversion name="{{ zone.icmp_block_inversion }}" />
{%- if 'icmp_block_inversion' in zone and zone.icmp_block_inversion %}
<icmp-block-inversion />
{%- endif %}
{%- if 'masquerade' in zone %}
{%- if zone.masquerade %}