ping: fix Logs
This commit is contained in:
parent
d53158b8d7
commit
bee7be8598
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue