From a8cd073fcc504de51b8f56766757f0295b68e066 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 28 Oct 2020 23:47:42 +0000 Subject: Add rpc-restricted-bind-ip option Fixes #6369 --- src/rpc/rpc_args.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/rpc/rpc_args.h') 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 rpc_bind_ip; const command_line::arg_descriptor rpc_bind_ipv6_address; + const command_line::arg_descriptor rpc_restricted_bind_ip; + const command_line::arg_descriptor rpc_restricted_bind_ipv6_address; const command_line::arg_descriptor rpc_use_ipv6; const command_line::arg_descriptor rpc_ignore_ipv4; const command_line::arg_descriptor 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 access_control_origins; -- cgit v1.2.3