mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-02 09:14:35 +02:00
global-functions: $LogAndError: add severity
This commit is contained in:
parent
6ef764c7d7
commit
3ebf68a08c
12 changed files with 16 additions and 15 deletions
|
@ -9,7 +9,7 @@
|
|||
:local Interface $interface;
|
||||
|
||||
:if ([ :typeof $Interface ] = "nothing") do={
|
||||
$LogAndError "This script is supposed to run from ppp on-up script hook.";
|
||||
$LogAndError error "This script is supposed to run from ppp on-up script hook.";
|
||||
}
|
||||
|
||||
:local IntName [ / interface get $Interface name ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue