try create tun device if not exist (#1131)

This commit is contained in:
Sijie.Sun
2025-07-19 22:56:19 +08:00
committed by GitHub
parent 50c6f5ae6c
commit 2660ed5fda
2 changed files with 133 additions and 12 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ tun = { package = "tun-easytier", git="https://github.com/EasyTier/rust-tun", fe
"async",
], optional = true }
# for net ns
nix = { version = "0.29.0", features = ["sched", "socket", "ioctl", "net"] }
nix = { version = "0.29.0", features = ["sched", "socket", "ioctl", "net", "fs"] }
uuid = { version = "1.5.0", features = [
"v4",