mirror of
https://github.com/soypat/lneto.git
synced 2026-08-16 12:53:26 +00:00
use common internal logger among all implementations(debugheaplog build tag)
This commit is contained in:
+1
-1
@@ -255,7 +255,7 @@ func (h *Handler) Demux(ethFrame []byte, frameOffset int) error {
|
||||
q.hwaddr = append(q.hwaddr, hwaddr...)
|
||||
if q.dstHw != nil {
|
||||
if !internal.IsZeroed(q.dstHw...) {
|
||||
slog.Error("race-condition:ARP-reused-buffer")
|
||||
internal.LogAttrs(nil, slog.LevelError, "race-condition:ARP-reused-buffer")
|
||||
}
|
||||
copy(q.dstHw, hwaddr) // External write to user buffer.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user