mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
fdbased: WritePackets only returns 0 for tun/tap devices
This commit is contained in:
@@ -563,6 +563,7 @@ func (e *endpoint) sendBatch(batchFDInfo fdInfo, pkts []*stack.PacketBuffer) (in
|
||||
}
|
||||
return 0, err
|
||||
}
|
||||
written = i
|
||||
}
|
||||
return written, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user