mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 22:09:35 +08:00
Add IPv6 information
This commit is contained in:
parent
10597f76f6
commit
2081323807
4
bench.sh
4
bench.sh
@ -95,9 +95,7 @@ if [ -e '/usr/bin/wget' ]; then
|
||||
speed && next
|
||||
if [ -e '/usr/bin/curl' ]; then
|
||||
ipv6=$(curl -s -6 icanhazip.com)
|
||||
if [[ "$ipv6" = "" ]]; then
|
||||
echo "IPv6 address not found. IPv6 speed test is ignored."
|
||||
else
|
||||
if [[ "$ipv6" != "" ]]; then
|
||||
echo -e "Node Name\t\t\tIPv6 address\t\tDownload Speed"
|
||||
speed_v6 && next
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user