From b20ad846a136d619e435a97380a14af3f97376f8 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 20 Oct 2024 21:27:20 +0100 Subject: [PATCH] When `IfName` is `none`, start queue goroutine, otherwise `iprwc` blocks and some handlers don't run --- src/tun/tun.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tun/tun.go b/src/tun/tun.go index e7ba3a0f..d15a0674 100644 --- a/src/tun/tun.go +++ b/src/tun/tun.go @@ -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 }