mirror of
https://github.com/fosrl/newt.git
synced 2026-02-08 05:56:40 +00:00
Check permissions
This commit is contained in:
2
main.go
2
main.go
@@ -236,7 +236,7 @@ func main() {
|
||||
flag.StringVar(&interfaceName, "interface", "newt", "Name of the WireGuard interface")
|
||||
}
|
||||
if useNativeInterfaceEnv == "" {
|
||||
flag.BoolVar(&useNativeInterface, "native", false, "Use native WireGuard interface (requires WireGuard kernel module) and linux")
|
||||
flag.BoolVar(&useNativeInterface, "native", false, "Use native WireGuard interface")
|
||||
}
|
||||
if disableClientsEnv == "" {
|
||||
flag.BoolVar(&disableClients, "disable-clients", false, "Disable clients on the WireGuard interface")
|
||||
|
||||
Reference in New Issue
Block a user