Browse Source

Merge pull request #9 from Hoovism/master

Added comment option for zone sources.
tags/v0.6.2
Niels Abspoel 8 years ago
parent
commit
97fac49bfd
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      firewalld/files/zone.xml

+ 5
- 0
firewalld/files/zone.xml View File

@@ -10,7 +10,12 @@
{%- endif %}
{%- if 'sources' in zone %}
{%- for v in zone.sources %}
{%- if 'comment' in v %}
<!-- {{ v.comment }} -->
<source address="{{ v.source }}" />
{%- else %}
<source address="{{ v }}" />
{%- endif %}
{%- endfor %}
{%- endif %}
{%- if 'services' in zone %}

Loading…
Cancel
Save