ipv6-update: check for availability of both variables

This commit is contained in:
Christian Hesse 2025-03-03 09:12:43 +01:00
parent 33c02e0609
commit 469f783a92

View file

@ -35,7 +35,7 @@
: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.");
:set ExitOK true;
:error false;