Added comment option for zone sources.

This commit is contained in:
Matthew Hoover 2016-09-29 22:50:55 -04:00
parent 9d783b178a
commit cc617a97ef

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 %}