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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user