Browse Source

[fix] service definition in rich rules - thx jdreese on Github

tags/v0.6.2
David Bezuidenhout 9 years ago
parent
commit
941b2768b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      firewalld/files/zone.xml

+ 1
- 1
firewalld/files/zone.xml View File

@@ -59,7 +59,7 @@
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %}/>
{%- endif %}
{%- if 'service' in rule %}
<destination name="{{ rule.service }}"/>
<service name="{{ rule.service }}"/>
{%- endif %}
{%- if 'port' in rule %}
<port port="{{ rule.port.portid }}" protocol="{{ rule.port.protocol }}"/>

Loading…
Cancel
Save