From 329e606b9366ce81da09c6f36f68edc4c8c98384 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 21 Jul 2022 13:35:14 +0200 Subject: global-functions: $IsTimeSync: drop the extra condition... ... as ddns is not required to be enabled. The public address is available anyway, but not set in DNS. --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index 6f1a6c5..cfec740 100644 --- a/global-functions +++ b/global-functions @@ -490,7 +490,7 @@ :return false; } - :if ([ /ip/cloud/get ddns-enabled ] = true && [ /ip/cloud/get update-time ] = true) do={ + :if ([ /ip/cloud/get update-time ] = true) do={ :if ([ :typeof [ /ip/cloud/get public-address ] ] = "ip") do={ :return true; } -- cgit v1.2.3-70-g09d2