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),