aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_defs.h
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_defs.h
parentMerge pull request #5548 (diff)
downloadmonero-2aa11341fc0ae9bcc556ae1a5df7b5cd0ad18e4a.tar.xz
daemon: display peer address type in print_cn
Diffstat (limited to '')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index 3083a5b4c..0c8155593 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -83,6 +83,8 @@ namespace cryptonote
uint32_t pruning_seed;
+ uint8_t address_type;
+
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(incoming)
KV_SERIALIZE(localhost)
@@ -107,6 +109,7 @@ namespace cryptonote
KV_SERIALIZE(connection_id)
KV_SERIALIZE(height)
KV_SERIALIZE(pruning_seed)
+ KV_SERIALIZE(address_type)
END_KV_SERIALIZE_MAP()
};