1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

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.
This commit is contained in:
Christian Hesse
2022-07-21 13:35:14 +02:00
parent ed7b48061a
commit 329e606b93

View File

@ -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;
}