summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireguard.py
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-10-18 11:43:10 -0700
committerhagbard <vyosdev@derith.de>2019-10-18 11:43:10 -0700
commitd2aa68e5e6a16e5e02ca7301ad9c37cbccbff83e (patch)
tree44037394bde6ffb7f77ee15d62158b9f9507ac43 /src/conf_mode/interfaces-wireguard.py
parentdf9544233fb661e830285c1a0d7755cff4b27408 (diff)
downloadvyos-1x-d2aa68e5e6a16e5e02ca7301ad9c37cbccbff83e.tar.gz
vyos-1x-d2aa68e5e6a16e5e02ca7301ad9c37cbccbff83e.zip
wireguard - remove endpoint check to enable roaming connections
Diffstat (limited to 'src/conf_mode/interfaces-wireguard.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireguard.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py
index 7a684bafa..013a07f32 100755
--- a/src/conf_mode/interfaces-wireguard.py
+++ b/src/conf_mode/interfaces-wireguard.py
@@ -190,9 +190,6 @@ def verify(c):
raise ConfigError("ERROR: allowed-ips required for peer " + p)
if not c['peer'][p]['pubkey']:
raise ConfigError("peer pubkey required for peer " + p)
- if not c['peer'][p]['endpoint']:
- raise ConfigError("peer endpoint required for peer " + p)
-
def apply(c):
# no wg configs left, remove all interface from system