|
@@ -89,7 +89,7 @@ WORKDATA="${WORKDIR}/data.txt"
|
|
|
mkdir $WORKDIR && cd $_
|
|
mkdir $WORKDIR && cd $_
|
|
|
|
|
|
|
|
IP4=$(curl -4 -s ifconfig.co)
|
|
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}"
|
|
echo "Internal ip = ${IP4}. Exteranl sub for ip6 = ${IP6}"
|
|
|
|
|
|