mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-12 18:01:51 +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
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ func (tun *TunAdapter) _start() error {
|
||||||
if tun.config.name == "none" || tun.config.name == "dummy" {
|
if tun.config.name == "none" || tun.config.name == "dummy" {
|
||||||
tun.log.Debugln("Not starting TUN as ifname is none or dummy")
|
tun.log.Debugln("Not starting TUN as ifname is none or dummy")
|
||||||
tun.isEnabled = false
|
tun.isEnabled = false
|
||||||
|
go tun.queue()
|
||||||
go tun.write()
|
go tun.write()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue