diff options
author | Linus Nordberg <linus@nordberg.se> | 2019-02-25 22:54:58 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2019-02-25 22:54:58 +0100 |
commit | 0d0c9462fa48efa997774f8f123ca1f4199944da (patch) | |
tree | f25254cf7b7f383b17103d0e0a37c15debc2dc30 /tests | |
parent | Accept multiple connections in one go (diff) | |
download | wg-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
Diffstat (limited to '')
-rwxr-xr-x | tests/netsh.sh | 4 |
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 |