From c491927569909a9b376d7b4a18d3e612b06d2669 Mon Sep 17 00:00:00 2001 From: Samuel Bailey Date: Wed, 5 Feb 2020 19:41:46 +0000 Subject: [PATCH] Fixed cloudflare cache not updating properly --- ddclient | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ddclient b/ddclient index 8a1bacc..260887c 100755 --- a/ddclient +++ b/ddclient @@ -4651,9 +4651,9 @@ sub nic_cloudflare_update { } # Cache - $config{$key}{'ip'} = $ip; - $config{$key}{'mtime'} = $now; - $config{$key}{'status'} = 'good'; + $config{$domain}{'ip'} = $ip; + $config{$domain}{'mtime'} = $now; + $config{$domain}{'status'} = 'good'; } } }