Fix broken ipv6 sync requiring a query param

This commit is contained in:
Alexander Schäferdiek 2019-09-27 23:00:34 +02:00
parent f535a2f3d8
commit 690d2837ab

View file

@ -95,7 +95,7 @@ echo "Checking ${hostname}"
# ipv6 # ipv6
if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then if [ "${DYNV6_IPV6_ENABLED}" = "true" ]; then
echo "Testing IPv6"; echo "Testing IPv6";
ipv6Res=$(curl -fsS "http://dynv6.com/api/update?hostname=${hostname}&token=${token}") ipv6Res=$(curl -fsS "http://ipv6.dynv6.com/api/update?hostname=${hostname}&ipv6=auto&token=${token}")
ipv6Changed=true; ipv6Changed=true;
if [ "${ipv6Res}" = "addresses unchanged" ]; then if [ "${ipv6Res}" = "addresses unchanged" ]; then