[fix] service definition in rich rules - thx jdreese on Github
This commit is contained in:
parent
847417f03e
commit
941b2768b1
@ -59,7 +59,7 @@
|
|||||||
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %}/>
|
<destination address="{{ rule.destination.address }}" {%- if 'invert' in rule.destination %}invert="{{ rule.destination.invert }}"{%- endif %}/>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'service' in rule %}
|
{%- if 'service' in rule %}
|
||||||
<destination name="{{ rule.service }}"/>
|
<service name="{{ rule.service }}"/>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'port' in rule %}
|
{%- if 'port' in rule %}
|
||||||
<port port="{{ rule.port.portid }}" protocol="{{ rule.port.protocol }}"/>
|
<port port="{{ rule.port.portid }}" protocol="{{ rule.port.protocol }}"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user