mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 13:04:30 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@
|
||||||
:return false;
|
: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={
|
:if ([ :typeof [ /ip/cloud/get public-address ] ] = "ip") do={
|
||||||
:return true;
|
:return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue