From 3583270f730965e935a84d52a4fd195a2037fa7c Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 25 Jul 2025 16:16:00 -0700 Subject: [PATCH] Adding option for netstack --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 46caec9..b0d2b74 100644 --- a/main.go +++ b/main.go @@ -144,7 +144,7 @@ func main() { flag.StringVar(&generateAndSaveKeyTo, "generateAndSaveKeyTo", "/tmp/newtkey", "Path to save generated private key") } flag.BoolVar(&keepInterface, "keep-interface", false, "Keep the WireGuard interface") - flag.BoolVar(&useNativeInterface, "useNativeInterface", false, "Use native WireGuard interface (requires WireGuard kernel module) and linux") + flag.BoolVar(&useNativeInterface, "native", false, "Use native WireGuard interface (requires WireGuard kernel module) and linux") flag.BoolVar(&acceptClients, "accept-clients", false, "Accept clients on the WireGuard interface") if tlsPrivateKey == "" { flag.StringVar(&tlsPrivateKey, "tls-client-cert", "", "Path to client certificate used for mTLS")