mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
log-forward: do not exit with error
This commit is contained in:
parent
d46156ad92
commit
7fa03ab70e
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@
|
||||||
|
|
||||||
:if ($LogForwardRateLimit > 30) do={
|
:if ($LogForwardRateLimit > 30) do={
|
||||||
:set LogForwardRateLimit ($LogForwardRateLimit - 1);
|
:set LogForwardRateLimit ($LogForwardRateLimit - 1);
|
||||||
$LogPrintExit2 info $ScriptName ("Rate limit in action, not forwarding logs, if any!") true;
|
$LogPrintExit2 info $ScriptName ("Rate limit in action, not forwarding logs, if any!") false;
|
||||||
|
:return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
:local Count 0;
|
:local Count 0;
|
||||||
|
|
Loading…
Reference in a new issue