mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-16 04:06:59 +02:00
Don't fail on the batch at the first error (#1826)
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ func sendto(fd int, b []byte, addr netip.AddrPort, isV4 bool) error {
|
||||
// WriteBatch sends bufs via sendmmsg(2), coalescing same-destination runs
|
||||
// into UDP-GSO superpackets when supported. See batchWriter in
|
||||
// udp_linux_writebatch.go for the mechanics.
|
||||
func (u *StdConn) WriteBatch(bufs [][]byte, addrs []netip.AddrPort, ecns []byte) error {
|
||||
func (u *StdConn) WriteBatch(bufs [][]byte, addrs []netip.AddrPort, ecns []byte) (int, error) {
|
||||
return u.bw.WriteBatch(bufs, addrs, ecns)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user