mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +08:00
tests: fix pings to IPv6 addresses for the new tun address
This commit is contained in:
@@ -80,12 +80,12 @@ if test $? != 0;then
|
||||
stop
|
||||
fi
|
||||
|
||||
#ping6 -w 5 fd91:6d87:7341:db6a::
|
||||
#if test $? != 0;then
|
||||
# kill $PID
|
||||
# echo "Cannot ping the IPv6 of ocserv"
|
||||
# stop
|
||||
#fi
|
||||
ping6 -w 5 fd91:6d87:7341:db6a::1
|
||||
if test $? != 0;then
|
||||
kill $PID
|
||||
echo "Cannot ping the IPv6 of ocserv"
|
||||
stop
|
||||
fi
|
||||
|
||||
echo "UserKnownHostsFile ./known-hosts.tmp" >config.tmp
|
||||
printf "#\!/bin/sh\n" >echo-admin.tmp
|
||||
|
||||
Reference in New Issue
Block a user