summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 16:42:09 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 16:42:11 +0200
commitd2b7359a7bd953e03b5dcdd440e3fa7c633fdfa4 (patch)
tree2f55ebd239d9ecf23fc9dc6535ee076f794a2d89 /scripts
parent6ad15ea8bd767d5c6655d3255d0d8532c507c305 (diff)
downloadvyos-1x-d2b7359a7bd953e03b5dcdd440e3fa7c633fdfa4.tar.gz
vyos-1x-d2b7359a7bd953e03b5dcdd440e3fa7c633fdfa4.zip
wireguard: T2206: split endpoint into proper address and port nodes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cli/test_interfaces_wireguard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cli/test_interfaces_wireguard.py b/scripts/cli/test_interfaces_wireguard.py
index ff1ff5d7e..159be02f1 100755
--- a/scripts/cli/test_interfaces_wireguard.py
+++ b/scripts/cli/test_interfaces_wireguard.py
@@ -50,7 +50,8 @@ class WireGuardInterfaceTest(unittest.TestCase):
for addr in self._test_addr:
self.session.set(base_path + [intf, 'address', addr])
- self.session.set(base_path + [intf, 'peer', peer, 'endpoint', '127.0.0.1:1337'])
+ self.session.set(base_path + [intf, 'peer', peer, 'address', '127.0.0.1'])
+ self.session.set(base_path + [intf, 'peer', peer, 'port', '1337'])
# Allow different prefixes to traverse the tunnel
allowed_ips = ['0.0.0.0/0']