From 8eec8450256c1c5d03d3d508663029544968b302 Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Wed, 3 Jan 2024 17:40:27 +0100 Subject: [PATCH] fix tzsp regression --- collectors/tzsp_darwin.go | 2 +- collectors/tzsp_freebsd.go | 2 +- collectors/tzsp_windows.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/collectors/tzsp_darwin.go b/collectors/tzsp_darwin.go index 66d8879e..c05ab267 100644 --- a/collectors/tzsp_darwin.go +++ b/collectors/tzsp_darwin.go @@ -19,7 +19,7 @@ type TZSPSniffer struct { } // workaround for macos, not yet supported -func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *AfpacketSniffer { +func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *TZSPSniffer { logger.Info("[%s] tzsp collector - enabled", name) s := &TZSPSniffer{ done: make(chan bool), diff --git a/collectors/tzsp_freebsd.go b/collectors/tzsp_freebsd.go index 206636f0..c31df147 100644 --- a/collectors/tzsp_freebsd.go +++ b/collectors/tzsp_freebsd.go @@ -19,7 +19,7 @@ type TZSPSniffer struct { } // workaround for macos, not yet supported -func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *AfpacketSniffer { +func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *TZSPSniffer { logger.Info("[%s] tzsp collector - enabled", name) s := &TZSPSniffer{ done: make(chan bool), diff --git a/collectors/tzsp_windows.go b/collectors/tzsp_windows.go index 1e594c5a..ddd16060 100644 --- a/collectors/tzsp_windows.go +++ b/collectors/tzsp_windows.go @@ -19,7 +19,7 @@ type TZSPSniffer struct { } // workaround for macos, not yet supported -func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *AfpacketSniffer { +func NewTZSP(loggers []dnsutils.Worker, config *pkgconfig.Config, logger *logger.Logger, name string) *TZSPSniffer { logger.Info("[%s] tzsp collector - enabled", name) s := &TZSPSniffer{ done: make(chan bool),