Also show the port for "peers".

This commit is contained in:
Arthur Britto
2012-03-10 19:15:41 -08:00
parent 2596cce905
commit 29ab1c3065

View File

@@ -542,6 +542,7 @@ Json::Value Peer::getJson() {
Json::Value ret(Json::objectValue);
ret["ip"] = mSocket.remote_endpoint().address().to_string();
ret["port"] = mSocket.remote_endpoint().port();
ret["hanko"] = mHanko.ToString();
return ret;