Allow build with CGO_ENABLED=0 by disable TUN Mode

Run hysteria on your favorite OpenWRT router.
This commit is contained in:
Haruue Icymoon
2021-07-08 21:19:13 +08:00
parent 9e67db0c9c
commit 9c3597bd11
4 changed files with 50 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
// +build cgo
package tun
import (