Skip to content

Commit

Permalink
fix tzsp regression
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Jan 3, 2024
1 parent 3356b19 commit 8eec845
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion collectors/tzsp_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion collectors/tzsp_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion collectors/tzsp_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8eec845

Please sign in to comment.