no need to close and re-open the listen socket when starting the DHT. Report the actual port we ended up listening on if the system chose one. don't try to listen on i2p
This commit is contained in:
@@ -1152,7 +1152,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
ses.set_proxy(ps);
|
||||
|
||||
ses.listen_on(std::make_pair(listen_port, listen_port + 10)
|
||||
ses.listen_on(std::make_pair(listen_port, listen_port)
|
||||
, ec, bind_to_interface.c_str());
|
||||
if (ec)
|
||||
{
|
||||
|
Reference in New Issue
Block a user