mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Check IPv6 connectivity via HTTPS
This commit is contained in:
parent
8833815983
commit
24b748f1bc
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ validIPAndNetmask(){
|
|||
}
|
||||
|
||||
checkipv6uplink(){
|
||||
curl --max-time 3 --connect-timeout 3 --silent --fail -6 http://google.com > /dev/null
|
||||
curl --max-time 3 --connect-timeout 3 --silent --fail -6 https://google.com > /dev/null
|
||||
curlv6testres=$?
|
||||
if [ "$curlv6testres" != "0" ]; then
|
||||
echo "::: IPv6 test connections to google.com have failed. Disabling IPv6 support. (The curl test failed with code: $curlv6testres)"
|
||||
|
|
Loading…
Reference in a new issue