aboutsummaryrefslogtreecommitdiffstats
path: root/dhcp-to-dns
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-03-05 08:43:56 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-03-05 08:43:56 +0100
commit3ec34fa752d6cab8e9e75f6ce22124247464680b (patch)
tree76f199929d3cf031183ffa22a8128927ace8bc33 /dhcp-to-dns
parent554308a399fd2dea884396a7382f9ec46031a4c3 (diff)
dhcp-to-dns: fix value in message
Diffstat (limited to 'dhcp-to-dns')
-rw-r--r--dhcp-to-dns2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp-to-dns b/dhcp-to-dns
index 94c1dfb..687db97 100644
--- a/dhcp-to-dns
+++ b/dhcp-to-dns
@@ -24,7 +24,7 @@
:local DnsRecordVal [ / ip dns static get $DnsRecord ];
:local MacAddress [ $CharacterReplace ($DnsRecordVal->"comment") $CommentPrefix "" ];
:if ([ / ip dhcp-server lease print count-only where mac-address=$MacAddress address=($DnsRecordVal->"address") dynamic=yes status=bound ] > 0) do={
- $LogPrintExit debug ("Lease for " . $MacAddress . " (" . $DnsRecordVal->"host-name" . ") still exists. Not deleting DNS entry.") false;
+ $LogPrintExit debug ("Lease for " . $MacAddress . " (" . $DnsRecordVal->"name" . ") still exists. Not deleting DNS entry.") false;
} else={
:local Found false;
$LogPrintExit info ("Lease expired for " . $MacAddress . " (" . $DnsRecordVal->"name" . "), deleting DNS entry.") false;