Browse Source

Added comment option for zone sources.

tags/v0.6.2
Matthew Hoover 8 years ago
parent
commit
cc617a97ef
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