mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Print ip and port with print_sn command (#627)
This commit is contained in:
parent
639ab2bf9b
commit
d3d8a14df0
1 changed files with 10 additions and 0 deletions
|
@ -2384,6 +2384,16 @@ static void append_printable_service_node_list_entry(cryptonote::network_type ne
|
|||
{
|
||||
buffer.append("Last Uptime Proof Received: ");
|
||||
buffer.append(get_human_time_ago(entry.last_uptime_proof, time(nullptr)));
|
||||
|
||||
buffer.append("\n");
|
||||
buffer.append(indent2);
|
||||
buffer.append("IP Address: ");
|
||||
buffer.append(entry.public_ip);
|
||||
|
||||
buffer.append("\n");
|
||||
buffer.append(indent2);
|
||||
buffer.append("Storage Server Port: ");
|
||||
buffer.append(std::to_string(entry.storage_port));
|
||||
}
|
||||
buffer.append("\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue