From e411bba34dc7d4ef9a7004c9309cc6e1465a911d Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:08:53 +0100 Subject: [PATCH] fix DeviceID --- workers/powerdns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/powerdns.go b/workers/powerdns.go index bcd32bb8..49daa184 100644 --- a/workers/powerdns.go +++ b/workers/powerdns.go @@ -363,7 +363,7 @@ func (w *PdnsProcessor) StartCollect() { pdns.InitialRequestorID = hex.EncodeToString(pbdm.InitialRequestId) pdns.RequestorID = pbdm.GetRequestorId() pdns.DeviceName = pbdm.GetDeviceName() - pdns.DeviceId = hex.EncodeToString(pbdm.DeviceId) + pdns.DeviceID = hex.EncodeToString(pbdm.DeviceId) // finally set pdns to dns message dm.PowerDNS = &pdns