mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-20 21:06:30 +03:00
When IfName is none, start queue goroutine, otherwise iprwc blocks and some handlers don't run
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user