chore:adjust sniffer debuglog info
This commit is contained in:
parent
c981ef0f28
commit
1b6b0052c2
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