diff --git a/openvpn-install.sh b/openvpn-install.sh index 470954d..cfc0754 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -211,7 +211,7 @@ function installQuestions () { echo "" echo "Checking for IPv6 connectivity..." echo "" - if ping -c4 ipv6.google.com > /dev/null 2>&1; then + if ping6 -c4 ipv6.google.com > /dev/null 2>&1; then echo "Your host appears to have IPv6 connectivity." SUGGESTION="y" else