chore: adjust sniffer err info

This commit is contained in:
MetaCubeX committed 2022-05-02 05:17:13 +08:00
1 parent 6d704b9cd1
commit 5ccc047fe4
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -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
-1
View File
@@ -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 {