mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 05:46:30 +03:00
(broken state) more WIP on tuntap stuff
This commit is contained in:
@@ -171,6 +171,8 @@ func (tun *TunAdapter) _start() error {
|
||||
// TODO go tun.handler()
|
||||
tun.reader.Act(nil, tun.reader._read) // Start the reader
|
||||
tun.ckr.init(tun)
|
||||
go tun.doRead()
|
||||
go tun.doWrite()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user