cursed gso

This commit is contained in:
JackDoan
2025-11-06 17:56:46 -06:00
parent 2ab75709ad
commit 7999b62147
14 changed files with 719 additions and 29 deletions

View File

@@ -519,7 +519,7 @@ func (f *Interface) sendRecvError(endpoint netip.AddrPort, index uint32) {
f.messageMetrics.Tx(header.RecvError, 0, 1)
b := header.Encode(make([]byte, header.Len), header.Version, header.RecvError, 0, index, 0)
_ = f.outside.WriteTo(b, endpoint)
_ = f.outside.WriteDirect(b, endpoint)
if f.l.Level >= logrus.DebugLevel {
f.l.WithField("index", index).
WithField("udpAddr", endpoint).