1 file changed
+2
-2
@@ -58,9 +58,9 @@ arWanIp6() {
|
|||||||
local hostIp
|
local hostIp
|
||||||
|
|
||||||
if type curl >/dev/null 2>&1; then
|
if type curl >/dev/null 2>&1; then
|
||||||
hostIp=$(curl -s https://v6.ip.sb)
|
hostIp=$(curl -s 6.ipw.cn)
|
||||||
else
|
else
|
||||||
hostIp=$(wget -q -O- https://v6.ip.sb)
|
hostIp=$(wget -q -O- 6.ipw.cn)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$hostIp" ]; then
|
if [ -z "$hostIp" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user