mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-24 04:44:26 +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
|
@ -10,7 +10,7 @@
|
|||
:global LogAndError;
|
||||
|
||||
:if ([ :typeof $PdPrefix ] = "nothing") do={
|
||||
$LogAndError "This script is supposed to run from ipv6 dhcp-client.";
|
||||
$LogAndError error "This script is supposed to run from ipv6 dhcp-client.";
|
||||
}
|
||||
|
||||
:local Pool [ / ipv6 pool get [ find where prefix=$PdPrefix ] name ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue