mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $LogAndError: add severity
This commit is contained in:
@@ -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 ];
|
||||
|
Reference in New Issue
Block a user