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 23:04:42 +0100
commitc2d93265df41fbc145243613e19b5159cbf98aeb (patch)
treecdb8112696b4ccd38f77e2634e42eb309d4ea1ae
parentWIP send response (diff)
downloadwg-dynamic-c2d93265df41fbc145243613e19b5159cbf98aeb.tar.xz
wg-dynamic-c2d93265df41fbc145243613e19b5159cbf98aeb.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