chore:adjust sniffer debuglog info

This commit is contained in:
gVisor bot 2022-04-13 08:38:55 +08:00
parent f4500524e4
commit d55f77798d

View file

@ -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