diff --git a/component/sniffer/dispatcher.go b/component/sniffer/dispatcher.go index 9d47d36f..5ca44f06 100644 --- a/component/sniffer/dispatcher.go +++ b/component/sniffer/dispatcher.go @@ -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 diff --git a/component/sniffer/tls_sniffer.go b/component/sniffer/tls_sniffer.go index 6af0b97b..f5a8fd99 100644 --- a/component/sniffer/tls_sniffer.go +++ b/component/sniffer/tls_sniffer.go @@ -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 {