when logging what the peer reports as identity use 8 character padding;

pull/55/head
Bryan Biedenkapp 2 years ago
parent 1cdd2aa56d
commit a1a0065a74

@ -693,7 +693,7 @@ void* FNENetwork::threadedNetworkRx(void* arg)
if (peerConfig["identity"].is<std::string>()) { if (peerConfig["identity"].is<std::string>()) {
std::string identity = peerConfig["identity"].get<std::string>(); std::string identity = peerConfig["identity"].get<std::string>();
connection->identity(identity); connection->identity(identity);
LogInfoEx(LOG_NET, "PEER %u reports identity [%s]", peerId, identity.c_str()); LogInfoEx(LOG_NET, "PEER %u reports identity [%8s]", peerId, identity.c_str());
} }
if (peerConfig["externalPeer"].is<bool>()) { if (peerConfig["externalPeer"].is<bool>()) {

Loading…
Cancel
Save

Powered by TurnKey Linux.