diff --git a/client/iface/bind/ice_bind.go b/client/iface/bind/ice_bind.go index 450ab3318..41f415af7 100644 --- a/client/iface/bind/ice_bind.go +++ b/client/iface/bind/ice_bind.go @@ -177,7 +177,7 @@ func (s *ICEBind) createIPv4ReceiverFn(pc *ipv4.PacketConn, conn *net.UDPConn, r if runtime.GOOS == "linux" || runtime.GOOS == "android" { if rxOffload { readAt := len(*msgs) - (wgConn.IdealBatchSize / wgConn.UdpSegmentMaxDatagrams) - //nolint:ineffassign + //nolint numMsgs, err = pc.ReadBatch((*msgs)[readAt:], 0) if err != nil { return 0, err