Browse Source

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
tags/v0.6.2^2
Steven Daniele 5 years ago
parent
commit
12b696a8fe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      firewalld/files/zone.xml

+ 2
- 2
firewalld/files/zone.xml 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 %}

Loading…
Cancel
Save