Go to file
HeshamTB a9ad981137 Reorg and add host flag, and catch error when not root:
- 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
2024-03-12 23:35:57 +03:00
cmd/hvpn-node Reorg and add host flag, and catch error when not root: 2024-03-12 23:35:57 +03:00
init init: 2024-03-11 17:34:06 +03:00
proto init: 2024-03-11 17:34:06 +03:00
go.mod init: 2024-03-11 17:34:06 +03:00
go.sum init: 2024-03-11 17:34:06 +03:00
handlers.go init: 2024-03-11 17:34:06 +03:00
ip_pool_test.go init: 2024-03-11 17:34:06 +03:00
ip_pool.go init: 2024-03-11 17:34:06 +03:00
link.go init: 2024-03-11 17:34:06 +03:00