diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-18 21:38:46 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-18 21:38:46 +0200 |
commit | 53e18cafdfb2bf24e8e0f8dd7355733eb31dc1c4 (patch) | |
tree | 55e6ece4dbd5865b373ddbfedaa669bbdbbd25b1 /src/daemon/command_server.cpp | |
parent | Merge pull request #1101 (diff) | |
parent | epee: optionally restrict HTTP service to a configurable user agent (diff) | |
download | monero-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_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index ce8ac44fc..2c3c54841 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -37,10 +37,11 @@ namespace p = std::placeholders; t_command_server::t_command_server( uint32_t ip , uint16_t port + , const std::string &user_agent , bool is_rpc , cryptonote::core_rpc_server* rpc_server ) - : m_parser(ip, port, is_rpc, rpc_server) + : m_parser(ip, port, user_agent, is_rpc, rpc_server) , m_command_lookup() , m_is_rpc(is_rpc) { |