aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler.inl
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 14:25:51 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 14:25:51 -0500
commit8774555d29a3594d430d1bc7c744ca904f38b389 (patch)
tree636bea13e50cce0cea15235882b6b2c7138b2a9d /src/cryptonote_protocol/cryptonote_protocol_handler.inl
parentMerge pull request #5594 (diff)
parentdaemon: display peer address type in print_cn (diff)
downloadmonero-8774555d29a3594d430d1bc7c744ca904f38b389.tar.xz
Merge pull request #5595
2aa1134 daemon: display peer address type in print_cn (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.inl')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.inl1
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 940d35581..a1fa9484c 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_handler.inl
+++ b/src/cryptonote_protocol/cryptonote_protocol_handler.inl
@@ -285,6 +285,7 @@ namespace cryptonote
cnx.height = cntxt.m_remote_blockchain_height;
cnx.pruning_seed = cntxt.m_pruning_seed;
+ cnx.address_type = (uint8_t)cntxt.m_remote_address.get_type_id();
connections.push_back(cnx);