From d55f77798de2ad6e418f99f08e21402ad3f0abd1 Mon Sep 17 00:00:00 2001 From: gVisor bot 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