diff options
author | Howard Chu <hyc@symas.com> | 2020-10-28 23:47:42 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2020-10-29 00:22:18 +0000 |
commit | 65903d2cfca6204af1a69259286178716e01e79f (patch) | |
tree | 34d58e8e3ecef4e34984919e419beb350efadf58 /src/rpc/rpc_args.h | |
parent | Merge pull request #6902 (diff) | |
download | monero-65903d2cfca6204af1a69259286178716e01e79f.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; |