From 1b6b0052c2b991ac1ffb3b87ee87e2acc3a730f7 Mon Sep 17 00:00:00 2001 From: Meta Date: Wed, 13 Apr 2022 08:38:55 +0800 Subject: [PATCH] chore:adjust sniffer debuglog info --- component/sniffer/dispatcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/sniffer/dispatcher.go b/component/sniffer/dispatcher.go index 677c6ffa..fa5f0c44 100644 --- a/component/sniffer/dispatcher.go +++ b/component/sniffer/dispatcher.go @@ -59,7 +59,7 @@ func (sd *SnifferDispatcher) cover(conn *CN.BufferedConn, metadata *C.Metadata) host, err := sniffer.SniffTCP(bytes) if err != nil { - log.Debugln("[Sniffer][%s] Sniff data failed", sniffer.Protocol()) + log.Debugln("[Sniffer][%s] Sniff data failed %s", sniffer.Protocol(), metadata.DstIP) continue } metadata.Host = host