mirror of https://github.com/oxen-io/lokinet
RPC: Relax token/range argument handling
- Accept empty string or `null` for token to mean "no token." - Accept `null` for range to mean "default range." - Don't use a default range (::0/0) in lokinet-vpn because this will fail if IPv6 ranges aren't supported on the platform (e.g. on Windows), and isn't necessary: if we omit it then the rpc code already uses ::0/0 or 0.0.0.0/0 by default, as needed.pull/1991/head
parent
8b321612da
commit
71ea4f4fa2
Loading…
Reference in New Issue