Use Domain as default relay source
This commit is contained in:
parent
f32891c328
commit
3c419fd21f
1 changed files with 4 additions and 2 deletions
|
@ -6,8 +6,10 @@
|
|||
{% if domain.comment is defined %}
|
||||
# {{ domain.comment }}
|
||||
{% endif %}
|
||||
{% if domain.relay_host is defined %}
|
||||
{{ "%-50s %s" | format(domain.name, domain.relay_host) }}
|
||||
{% if domain.relay is defined %}
|
||||
{% for relay in domain.relay %}
|
||||
{{ "%-60s %s" | format(relay.src | default( domain.name ), relay.dest) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue