Merge pull request #62 from derhecht/patch-1

Add curl IPv6 timeout
This commit is contained in:
chandi
2021-02-18 09:44:58 +01:00
committed by GitHub

View File

@ -20,7 +20,7 @@ fi
EXTERNAL_IPv4=$(curl -4 -s https://icanhazip.com)
EXTERNAL_IPv6=$(curl -6 -s https://icanhazip.com || true)
EXTERNAL_IPv6=$(curl -6 -s -m 10 https://icanhazip.com || true)
greenlight=""
while [[ ! $greenlight =~ ^(y|n)$ ]]; do