aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.cpp
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/daemon/command_parser_executor.cpp
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/daemon/command_parser_executor.cpp')
-rw-r--r--src/daemon/command_parser_executor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/command_parser_executor.cpp b/src/daemon/command_parser_executor.cpp
index 00ea6ef6c..83892c661 100644
--- a/src/daemon/command_parser_executor.cpp
+++ b/src/daemon/command_parser_executor.cpp
@@ -34,10 +34,11 @@ namespace daemonize {
t_command_parser_executor::t_command_parser_executor(
uint32_t ip
, uint16_t port
+ , const std::string &user_agent
, bool is_rpc
, cryptonote::core_rpc_server* rpc_server
)
- : m_executor(ip, port, is_rpc, rpc_server)
+ : m_executor(ip, port, user_agent, is_rpc, rpc_server)
{}
bool t_command_parser_executor::print_peer_list(const std::vector<std::string>& args)