Add the IP address to a log message.

This commit is contained in:
JoelKatz
2013-03-29 15:48:54 -07:00
parent e29e6fa13a
commit f96df4d84f

View File

@@ -1441,7 +1441,7 @@ void Peer::recvGetLedger(ripple::TMGetLedger& packet)
selectedPeer->sendPacket(boost::make_shared<PackedMessage>(packet, ripple::mtGET_LEDGER), false);
return;
}
cLog(lsERROR) << "We do not have the map our peer wants";
cLog(lsERROR) << "We do not have the map our peer wants " << getIP();
punishPeer(LT_InvalidRequest);
return;
}