Merge pull request #1143 from l-n-s/i2pcontrol_updates

I2pcontrol updates
This commit is contained in:
orignal 2018-03-05 14:34:31 -05:00 committed by GitHub
commit ca1fa11cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -731,7 +731,7 @@ namespace client
{ {
boost::property_tree::ptree stream; boost::property_tree::ptree stream;
stream.put("type", socket->GetSocketType ()); stream.put("type", socket->GetSocketType ());
stream.put("remote_endpoint", socket->GetSocket ().remote_endpoint()); stream.put("peer", socket->GetSocket ().remote_endpoint());
sam_session_sockets.push_back(std::make_pair("", stream)); sam_session_sockets.push_back(std::make_pair("", stream));
} }