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

This commit is contained in:
David Bezuidenhout 2015-03-11 16:17:29 +02:00
parent 847417f03e
commit 941b2768b1

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 }}"/>