mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-10-05 08:37:03 +08:00
ping: fix Logs
This commit is contained in:
@@ -63,7 +63,7 @@ func (d *Destination) loopRead() {
|
|||||||
}
|
}
|
||||||
err = d.routeContext.WritePacket(buffer.Bytes())
|
err = d.routeContext.WritePacket(buffer.Bytes())
|
||||||
if err != nil {
|
if err != nil {
|
||||||
d.logger.Error(d.ctx, E.Cause(err, "write ICMP echo reply"))
|
d.logger.ErrorContext(d.ctx, E.Cause(err, "write ICMP echo reply"))
|
||||||
}
|
}
|
||||||
buffer.Release()
|
buffer.Release()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user