mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-09-26 20:51:13 +08:00
ping: fix Logs
This commit is contained in:
@@ -63,7 +63,7 @@ func (d *Destination) loopRead() {
|
||||
}
|
||||
err = d.routeContext.WritePacket(buffer.Bytes())
|
||||
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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user