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 %}
|
{% for peer in item.peers %}
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = {{ peer.public_key }}
|
PublicKey = {{ peer.public_key }}
|
||||||
|
{% if 'endpoint' in peer %}
|
||||||
Endpoint = {{ peer.endpoint }}
|
Endpoint = {{ peer.endpoint }}
|
||||||
|
{% endif %}
|
||||||
AllowedIPs = {{ peer.allowed_ips }}
|
AllowedIPs = {{ peer.allowed_ips }}
|
||||||
{% endfor %}
|
{% endfor %}
|
Loading…
Reference in New Issue
Block a user