mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04: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:
parent
ed7b48061a
commit
329e606b93
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue