mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-01-09 17:55:42 +00:00
When IfName
is none
, start queue goroutine, otherwise iprwc
blocks and some handlers don't run
This commit is contained in:
parent
0b9c8bd020
commit
b20ad846a1
@ -125,6 +125,7 @@ func (tun *TunAdapter) _start() error {
|
||||
if tun.config.name == "none" || tun.config.name == "dummy" {
|
||||
tun.log.Debugln("Not starting TUN as ifname is none or dummy")
|
||||
tun.isEnabled = false
|
||||
go tun.queue()
|
||||
go tun.write()
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user