mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-29 14:28:16 +02:00
ipv6-update: check for availability of both variables
This commit is contained in:
parent
33c02e0609
commit
469f783a92
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
:error false;
|
:error false;
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ([ :typeof $PdPrefix ] = "nothing") do={
|
:if ([ :typeof $PdPrefix ] = "nothing" || [ :typeof $PdValid ] = "nothing") do={
|
||||||
$LogPrint error $ScriptName ("This script is supposed to run from ipv6 dhcp-client.");
|
$LogPrint error $ScriptName ("This script is supposed to run from ipv6 dhcp-client.");
|
||||||
:set ExitOK true;
|
:set ExitOK true;
|
||||||
:error false;
|
:error false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue