This commit is contained in:
JackDoan
2026-05-14 14:07:12 -05:00
parent c5abf30102
commit 44530cb610
3 changed files with 67 additions and 9 deletions

View File

@@ -329,8 +329,7 @@ func (f *Interface) listenOut(i int) {
nb := make([]byte, 12, 12)
listener := func(fromUdpAddr netip.AddrPort, payload []byte, meta udp.RxMeta) {
plaintext := f.batchers[i].Reserve(len(payload))
f.readOutsidePackets(ViaSender{UdpAddr: fromUdpAddr}, plaintext[:0], payload, h, fwPacket, lhh, nb, i, ctCache.Get())
f.readOutsidePackets(ViaSender{UdpAddr: fromUdpAddr}, payload, h, fwPacket, lhh, nb, i, ctCache.Get())
}
flusher := func() {