).WithField(
"minimum_packet_Length",
MinPktLength,
- ).Debug("Ignore packet smaller than allowed minimum")
+ ).Debug("Ignoring packet smaller than allowed minimum")
return false
}
if !p.Encless && len(data) > len(p.bufR)-CC20IBS {
}
p.BytesPayloadIn += uint64(p.pktSizeR)
if _, err = tap.Write(out[:p.pktSizeR]); err != nil {
- logger.WithFields(p.LogFields()).WithFields(fields).WithError(err).Error("Can't write to TAP")
+ logger.WithFields(p.LogFields()).WithFields(fields).WithError(err).Error("Can not write to TAP")
}
return true
}
).WithFields(
peer.LogFields(),
).WithError(err).Warn(
- "Can't process nil ethernet packet",
+ "Can not process nil Ethernet packet",
)
}
lastSent = now
fields,
).WithFields(
peer.LogFields(),
- ).WithError(err).Warn("Can't process ethernet packet")
+ ).WithError(err).Warn("Can not process Ethernet packet")
}
lastSent = time.Now()
}
fields,
).WithFields(
peer.LogFields(),
- ).WithError(err).Warn("Can't process ethernet packet")
+ ).WithError(err).Warn("Can not process Ethernet packet")
}
default:
}
fields,
).WithFields(
peer.LogFields(),
- ).WithError(err).Warn("Can't process nil ethernet packet")
+ ).WithError(err).Warn("Can not process nil Ethernet packet")
}
}
time.Sleep(peer.CPRCycle)