aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-18 21:38:46 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-18 21:38:46 +0200
commit53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4 (patch)
tree55e6ece4dbd5865b373ddbfedaa669bbdbbd25b1 /src/rpc/core_rpc_server.h
parentMerge pull request #1101 (diff)
parentepee: optionally restrict HTTP service to a configurable user agent (diff)
downloadmonero-53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4.tar.xz
Merge pull request #1102v0.10.0
eeb2bbc epee: optionally restrict HTTP service to a configurable user agent (moneromooo-monero)
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r--src/rpc/core_rpc_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index 9fcf3abf8..9885aa0ff 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -56,6 +56,7 @@ namespace cryptonote
static const command_line::arg_descriptor<std::string> arg_rpc_bind_port;
static const command_line::arg_descriptor<std::string> arg_testnet_rpc_bind_port;
static const command_line::arg_descriptor<bool> arg_restricted_rpc;
+ static const command_line::arg_descriptor<std::string> arg_user_agent;
typedef epee::net_utils::connection_context_base connection_context;