mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
potential for bug
This commit is contained in:
@@ -79,6 +79,9 @@ func (d *UserDevice) Read(p []byte) (n int, err error) {
|
||||
func (d *UserDevice) Write(p []byte) (n int, err error) {
|
||||
return d.inboundWriter.Write(p)
|
||||
}
|
||||
func (d *UserDevice) WriteReject(p []byte) (n int, err error) {
|
||||
return d.Write(p)
|
||||
}
|
||||
func (d *UserDevice) Close() error {
|
||||
d.inboundWriter.Close()
|
||||
d.outboundWriter.Close()
|
||||
|
||||
Reference in New Issue
Block a user