Merge pull request #105 from Ljzd-PRO/patch-1

更换IPv6查询接口
This commit is contained in:
rehiy authored and GitHub committed 2022-08-22 16:39:10 +08:00
commit 4d8dbd60cd
1 file changed
+2 -2
+2 -2
View File
@@ -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