make endpoint optional
This commit is contained in:
parent
25b34a60f2
commit
f1b24d6ba4
@ -12,6 +12,8 @@ PostDown = {{ item.post_down }}
|
||||
{% for peer in item.peers %}
|
||||
[Peer]
|
||||
PublicKey = {{ peer.public_key }}
|
||||
{% if 'endpoint' in peer %}
|
||||
Endpoint = {{ peer.endpoint }}
|
||||
{% endif %}
|
||||
AllowedIPs = {{ peer.allowed_ips }}
|
||||
{% endfor %}
|
Loading…
Reference in New Issue
Block a user