diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-06-18 14:23:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-06-18 14:23:59 +0200 |
commit | a237f90c5be32adb125edfa76954adefea09674b (patch) | |
tree | b1041ada449f6d9d127e83ddc71c728ca7e07a1c /contrib/epee/include/net/http_server_handlers_map2.h | |
parent | Merge pull request #2059 (diff) | |
parent | abstracted nework addresses (diff) | |
download | monero-a237f90c5be32adb125edfa76954adefea09674b.tar.xz |
Merge pull request #2052
072102cf abstracted nework addresses (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include/net/http_server_handlers_map2.h')
-rw-r--r-- | contrib/epee/include/net/http_server_handlers_map2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/http_server_handlers_map2.h b/contrib/epee/include/net/http_server_handlers_map2.h index 8e39b4104..429e3e1af 100644 --- a/contrib/epee/include/net/http_server_handlers_map2.h +++ b/contrib/epee/include/net/http_server_handlers_map2.h @@ -39,7 +39,7 @@ epee::net_utils::http::http_response_info& response, \ context_type& m_conn_context) \ {\ - LOG_PRINT_L2("HTTP [" << epee::string_tools::get_ip_string_from_int32(m_conn_context.m_remote_ip ) << "] " << query_info.m_http_method_str << " " << query_info.m_URI); \ + LOG_PRINT_L2("HTTP [" << m_conn_context.m_remote_address.host_str() << "] " << query_info.m_http_method_str << " " << query_info.m_URI); \ response.m_response_code = 200; \ response.m_response_comment = "Ok"; \ if(!handle_http_request_map(query_info, response, m_conn_context)) \ |