mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-03 01:34:47 +02:00
global-functions: $MailServerIsUp: use prepared value
This commit is contained in:
parent
b5d1e7aa83
commit
77338563b7
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@
|
|||
:if ([ :typeof [ :toip $MailHost ] ] != "ip" ) do={
|
||||
:set MailHost [ :resolve $MailServer ];
|
||||
}
|
||||
/ tool netwatch add comment=$MailServer host=[ :resolve $MailServer ];
|
||||
/ tool netwatch add comment=$MailServer host=$MailHost;
|
||||
}
|
||||
|
||||
:if ([ / tool netwatch get [ find where comment=$MailServer ] status ] = "up") do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue