This commit is contained in:
Alexander Schäferdiek 2020-03-22 11:25:31 +01:00
parent 778f8d4ab6
commit ea0e49f5f3

View file

@ -96,7 +96,7 @@ echo "Checking ${hostname}"
if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then
echo "Testing IPv6"; echo "Testing IPv6";
ipv6Address=$(curl -s "https://v6.ident.me/") ipv6Address=$(curl -s "https://v6.ident.me/")
ipv6Res=$(curl -fsS "https://ipv6.dynv6.com/api/update?hostname=${hostname}&ipv6=${ipv6Address}&token=${token}") ipv6Res=$(curl -s -v "https://ipv6.dynv6.com/api/update?hostname=${hostname}&ipv6=${ipv6Address}&token=${token}")
ipv6Changed=true; ipv6Changed=true;
if [ "${ipv6Res}" = "addresses unchanged" ]; then if [ "${ipv6Res}" = "addresses unchanged" ]; then