diff options
author | Howard Chu <hyc@symas.com> | 2020-10-28 23:47:42 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2020-11-11 12:19:13 +0000 |
commit | a8cd073fcc504de51b8f56766757f0295b68e066 (patch) | |
tree | 4f8ffcc0cae9a3965d661a9acf4c3e1b6c037909 /src/rpc/rpc_args.h | |
parent | Merge pull request #6997 (diff) | |
download | monero-a8cd073fcc504de51b8f56766757f0295b68e066.tar.xz |
Add rpc-restricted-bind-ip option
Fixes #6369
Diffstat (limited to '')
-rw-r--r-- | src/rpc/rpc_args.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/rpc_args.h b/src/rpc/rpc_args.h index 4cf4279b2..f06e539bd 100644 --- a/src/rpc/rpc_args.h +++ b/src/rpc/rpc_args.h @@ -53,6 +53,8 @@ namespace cryptonote const command_line::arg_descriptor<std::string> rpc_bind_ip; const command_line::arg_descriptor<std::string> rpc_bind_ipv6_address; + const command_line::arg_descriptor<std::string> rpc_restricted_bind_ip; + const command_line::arg_descriptor<std::string> rpc_restricted_bind_ipv6_address; const command_line::arg_descriptor<bool> rpc_use_ipv6; const command_line::arg_descriptor<bool> rpc_ignore_ipv4; const command_line::arg_descriptor<std::string> rpc_login; @@ -81,6 +83,8 @@ namespace cryptonote std::string bind_ip; std::string bind_ipv6_address; + std::string restricted_bind_ip; + std::string restricted_bind_ipv6_address; bool use_ipv6; bool require_ipv4; std::vector<std::string> access_control_origins; |