dhcp-to-dns: allow to ignore for specific lease

This commit is contained in:
Christian Hesse 2026-05-12 07:11:14 +02:00
parent 69a45a51d3
commit 99facacb59
2 changed files with 4 additions and 2 deletions

View file

@ -80,8 +80,8 @@
}
:local NetworkInfo [ $ParseKeyValueStore ($NetworkVal->"comment") ];
:if ($NetworkInfo->"dns-ignore" = true) do={
$LogPrint debug $ScriptName ("Lease for " . $LeaseVal->"active-mac-address" . " is in ignored network... Skipping.");
:if ($LeaseInfo->"dns-ignore" = true || $NetworkInfo->"dns-ignore" = true) do={
$LogPrint debug $ScriptName ("Lease for " . $LeaseVal->"active-mac-address" . " is ignored... Skipping.");
:continue;
}