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())
|
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()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue