summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-01 17:43:43 +0100
committerErich Eckner <git@eckner.net>2017-03-01 17:43:43 +0100
commit2ce906678de67a151f1b81a04aba7f7431aaa3bc (patch)
tree3a7c1840bf48906102244e13e1a0ff38bafd0d10
parentf93ff748edf1b92e6b35f980b1f4eb5fe4cc39dd (diff)
downloadupdate-ddns-2ce906678de67a151f1b81a04aba7f7431aaa3bc.tar.xz
bugfix
-rw-r--r--update-ddns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-ddns.in b/update-ddns.in
index 66f3dba..ebf2192 100644
--- a/update-ddns.in
+++ b/update-ddns.in
@@ -142,9 +142,9 @@ do
then
if [[ "${updateUrl}" = *'?'* ]]
then
- updateIps='&'"${updateIps#,}"
+ updateIps='&address='"${updateIps#,}"
else
- updateIps='?'"${updateIps#,}"
+ updateIps='?address='"${updateIps#,}"
fi
curl ${curlForceIpVer} -sS "${updateUrl}${updateIps}" 2> /dev/null
fi