chore:adjust sniffer debuglog info
This commit is contained in:
parent
f4500524e4
commit
d55f77798d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue