Explorar el Código

Fix ip6 detect

Aslan Dukaev hace 5 años
padre
commit
fe9388c60c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      scripts/install.sh

+ 1 - 1
scripts/install.sh

@@ -89,7 +89,7 @@ WORKDATA="${WORKDIR}/data.txt"
 mkdir $WORKDIR && cd $_
 
 IP4=$(curl -4 -s ifconfig.co)
-IP6=$(curl -6 -s ifconfig.co | cut -f1-4 -d':')
+IP6=$(curl -6 -s icanhazip.com | cut -f1-4 -d':')
 
 echo "Internal ip = ${IP4}. Exteranl sub for ip6 = ${IP6}"