HeshamTB
a9ad981137
- A previous workaround done to recover from a panic on nil ref is now not needed and removed. The issue was that I assumed cli.Exit(err, int) was a way to exit; i.e. it uses os.Exit() under the hood. However, it only constructs a struct that implements error. Hence, we should return it, not just execute it. - Also warn on root and Windows - Move IPPool init to setup rather than run |
||
---|---|---|
cmd/hvpn-node | ||
init | ||
proto | ||
go.mod | ||
go.sum | ||
handlers.go | ||
ip_pool_test.go | ||
ip_pool.go | ||
link.go |