chore: adjust sniffer err info
This commit is contained in:
parent
6d704b9cd1
commit
5ccc047fe4
2 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,7 @@ import (
|
|||
var (
|
||||
ErrorUnsupportedSniffer = errors.New("unsupported sniffer")
|
||||
ErrorSniffFailed = errors.New("all sniffer failed")
|
||||
ErrNoClue = errors.New("not enough information for making a decision")
|
||||
)
|
||||
|
||||
var Dispatcher SnifferDispatcher
|
||||
|
|
|
@ -11,7 +11,6 @@ import (
|
|||
var (
|
||||
errNotTLS = errors.New("not TLS header")
|
||||
errNotClientHello = errors.New("not client hello")
|
||||
ErrNoClue = errors.New("not enough information for making a decision")
|
||||
)
|
||||
|
||||
type TLSSniffer struct {
|
||||
|
|
Loading…
Reference in a new issue