mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 18:25:17 +02:00
netwatch-notify: fix the count...
This broke in commit 6f772e92a6
("netwatch-notify: rename array element") where not only the array
element but also the option was renamed.
This commit is contained in:
parent
493d534706
commit
640cb81119
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ $ScriptLock $0;
|
|||
:set ($Metric->"count-up") 0;
|
||||
:set ($Metric->"parent") ($HostInfo->"parent");
|
||||
:set ($Metric->"since") ($HostVal->"since");
|
||||
:local CountDown [ $IfThenElse ([ :tonum ($HostInfo->"count-down") ] > 0) ($HostInfo->"count-down") 5 ];
|
||||
:local CountDown [ $IfThenElse ([ :tonum ($HostInfo->"count") ] > 0) ($HostInfo->"count") 5 ];
|
||||
:local Parent ($HostInfo->"parent");
|
||||
:local ParentUp false;
|
||||
:while ([ :len $Parent ] > 0) do={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue