diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-03-17 17:56:04 +0200 |
commit | 848591c4d85ae73c42b3317d9dab192267bc2737 (patch) | |
tree | 49609ee8a89b8e475ba610c6af08507aea9ac9bb /src/cryptonote_protocol/cryptonote_protocol_handler.inl | |
parent | Merge pull request #5185 (diff) | |
parent | daemon: add --public-node mode, RPC port propagation over P2P (diff) | |
download | monero-848591c4d85ae73c42b3317d9dab192267bc2737.tar.xz |
Merge pull request #5190
551104fb daemon: add --public-node mode, RPC port propagation over P2P (xiphon)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.inl')
-rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.inl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.inl b/src/cryptonote_protocol/cryptonote_protocol_handler.inl index 9d52935f1..2317aee84 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl @@ -231,6 +231,7 @@ namespace cryptonote cnx.ip = cnx.host; cnx.port = std::to_string(cntxt.m_remote_address.as<epee::net_utils::ipv4_network_address>().port()); } + cnx.rpc_port = cntxt.m_rpc_port; std::stringstream peer_id_str; peer_id_str << std::hex << std::setw(16) << peer_id; |