From 81d67a21b136a58cd809263ad10db439d31b8e9a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 30 Jan 2020 16:20:56 -0800 Subject: [PATCH] Revert "ddns-scripts: fix cloudflare.com-v4" This reverts commit 67e2efb301f9e6ac9ee471d2457f08feda7fab38. This is totally wrong. The actual bug is in the luci app. --- net/ddns-scripts/files/update_cloudflare_com_v4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ddns-scripts/files/update_cloudflare_com_v4.sh b/net/ddns-scripts/files/update_cloudflare_com_v4.sh index 3b909d781..dbf6f592b 100755 --- a/net/ddns-scripts/files/update_cloudflare_com_v4.sh +++ b/net/ddns-scripts/files/update_cloudflare_com_v4.sh @@ -140,7 +140,7 @@ __ZONEID=$(grep -o '"id":"[^"]*' $DATFILE | grep -o '[^"]*$' | head -1) } # read record id for A or AAAA record of host.domain.TLD -__RUNPROG="$__PRGBASE --request GET '$__URLBASE/zones/$__ZONEID/dns_records?name=*.$__HOST&type=$__TYPE'" +__RUNPROG="$__PRGBASE --request GET '$__URLBASE/zones/$__ZONEID/dns_records?name=$__HOST&type=$__TYPE'" cloudflare_transfer || return 1 # extract record id __RECID=$(grep -o '"id":"[^"]*' $DATFILE | grep -o '[^"]*$' | head -1)