mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-17 06:35:07 +03:00
(broken state) more WIP on tuntap stuff
This commit is contained in:
parent
0cff56fcc1
commit
5b22392c66
3 changed files with 96 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue