mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 12:57:38 +02:00
potential for bug
This commit is contained in:
@@ -527,6 +527,10 @@ func (t *tun) ReadBatch() ([][]byte, error) {
|
||||
return t.batchRet[:], nil
|
||||
}
|
||||
|
||||
func (t *tun) WriteReject(p []byte) (int, error) {
|
||||
return t.Write(p)
|
||||
}
|
||||
|
||||
// Write is only valid for single threaded use
|
||||
func (t *tun) Write(from []byte) (int, error) {
|
||||
buf := t.out
|
||||
|
||||
Reference in New Issue
Block a user