From d2b7359a7bd953e03b5dcdd440e3fa7c633fdfa4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 5 Apr 2020 16:42:09 +0200 Subject: wireguard: T2206: split endpoint into proper address and port nodes --- scripts/cli/test_interfaces_wireguard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/cli') 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'] -- cgit v1.2.3