chore:adjust sniffer debuglog info

This commit is contained in:
Meta 2022-04-13 08:38:55 +08:00
parent c981ef0f28
commit 1b6b0052c2

View file

@ -59,7 +59,7 @@ func (sd *SnifferDispatcher) cover(conn *CN.BufferedConn, metadata *C.Metadata)
host, err := sniffer.SniffTCP(bytes) host, err := sniffer.SniffTCP(bytes)
if err != nil { 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 continue
} }
metadata.Host = host metadata.Host = host