aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler.inl
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-31 09:09:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-31 09:10:05 +0000
commit2aa11341fc0ae9bcc556ae1a5df7b5cd0ad18e4a (patch)
treec52084af98a1262b69615c1a9466880cc532014b /src/cryptonote_protocol/cryptonote_protocol_handler.inl
parentMerge pull request #5548 (diff)
downloadmonero-2aa11341fc0ae9bcc556ae1a5df7b5cd0ad18e4a.tar.xz
daemon: display peer address type in print_cn
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 8958af7c7..ad433589c 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);