mirror of
https://github.com/fosrl/newt.git
synced 2026-03-04 01:36:44 +00:00
Handle order of opertions of hole punch better
This commit is contained in:
2
main.go
2
main.go
@@ -403,7 +403,7 @@ func main() {
|
||||
if generateAndSaveKeyTo == "" {
|
||||
flag.StringVar(&generateAndSaveKeyTo, "generateAndSaveKeyTo", "/tmp/newtkey", "Path to save generated private key")
|
||||
}
|
||||
flag.BoolVar(&rm, "rm", true, "Remove the WireGuard interface")
|
||||
flag.BoolVar(&rm, "rm", false, "Remove the WireGuard interface")
|
||||
flag.BoolVar(&acceptClients, "accept-clients", false, "Accept clients on the WireGuard interface")
|
||||
|
||||
// do a --version check
|
||||
|
||||
Reference in New Issue
Block a user