From ab634a065c6fe86d1ecc55aee2a71a5e6c95bb85 Mon Sep 17 00:00:00 2001 From: snow flurry Date: Fri, 18 Feb 2022 19:19:04 -0800 Subject: [PATCH] tun_netbsd: compile fix --- tun/tun_netbsd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tun/tun_netbsd.go b/tun/tun_netbsd.go index 14fe796..1fb7d5c 100644 --- a/tun/tun_netbsd.go +++ b/tun/tun_netbsd.go @@ -37,6 +37,7 @@ type NativeTun struct { events chan Event errors chan error routeSocket int + closeOnce sync.Once } func (tun *NativeTun) routineRouteListener(tunIfindex int) {