mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-06-02 16:52:36 +00:00
dhcp-to-dns: allow to ignore for specific lease
This commit is contained in:
parent
69a45a51d3
commit
99facacb59
2 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue