aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2019-02-25 22:54:58 +0100
committerLinus Nordberg <linus@nordberg.se>2019-02-25 22:54:58 +0100
commit0d0c9462fa48efa997774f8f123ca1f4199944da (patch)
treef25254cf7b7f383b17103d0e0a37c15debc2dc30
parentAccept multiple connections in one go (diff)
downloadwg-dynamic-0d0c9462fa48efa997774f8f123ca1f4199944da.tar.xz
wg-dynamic-0d0c9462fa48efa997774f8f123ca1f4199944da.zip
Specify scope id in addresses to ping6
Without scope id, ping6 on a Debian 9 fails with connect: Invalid argument
-rwxr-xr-xtests/netsh.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/netsh.sh b/tests/netsh.sh
index 4e3aa9b..27979c5 100755
--- a/tests/netsh.sh
+++ b/tests/netsh.sh
@@ -76,7 +76,7 @@ configure_peers
n1 wg set wg0 peer "$client_public" endpoint [::1]:2
n2 wg set wg0 peer "$server_public" endpoint [::1]:1
-n2 ping6 -c 10 -f -W 1 fe80::
-n1 ping6 -c 10 -f -W 1 fe80::badc:0ffe:e0dd:f00d
+n2 ping6 -c 10 -f -W 1 fe80::%wg0
+n1 ping6 -c 10 -f -W 1 fe80::badc:0ffe:e0dd:f00d%wg0
n1 ./wg-dynamic-server wg0