Skip to content

Commit

Permalink
When IfName is none, start queue goroutine, otherwise iprwc blo…
Browse files Browse the repository at this point in the history
…cks and some handlers don't run
  • Loading branch information
neilalexander committed Oct 20, 2024
1 parent 0b9c8bd commit b20ad84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tun/tun.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b20ad84

Please sign in to comment.