mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 21:14:29 +02:00
ipv6-update: use $LogAndError
This commit is contained in:
parent
801608eeaf
commit
286d7ced11
1 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@
|
|||
:local PdPrefix $"pd-prefix";
|
||||
|
||||
:global ParseKeyValueStore;
|
||||
:global LogAndError;
|
||||
|
||||
:if ([ :typeof $PdPrefix ] = "nothing") do={
|
||||
:log error "This script is supposed to run from ipv6 dhcp-client.";
|
||||
:error "Error: See log for details.";
|
||||
$LogAndError "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