ping: fix Logs

This commit is contained in:
wwqgtxx
2025-08-24 12:50:12 +08:00
committed by GitHub
parent d53158b8d7
commit bee7be8598

View File

@@ -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()
} }