aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-21 13:35:14 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-21 14:04:44 +0200
commit329e606b9366ce81da09c6f36f68edc4c8c98384 (patch)
tree8a56868729c94159054628b17cfc7f902dcc89bb
parented7b48061a72011f43bf862c8036a0294d7a7eb2 (diff)
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.
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
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;
}