Configurable addresses from master

This commit is contained in:
erlend1 2015-11-30 16:44:32 +02:00
parent 4e2ba71d59
commit cee1b8a64a
19 changed files with 47 additions and 39 deletions

View file

@ -560,8 +560,8 @@ namespace proxy
}
}
SOCKSServer::SOCKSServer(int port, std::shared_ptr<i2p::client::ClientDestination> localDestination) :
TCPIPAcceptor (port, localDestination ? localDestination : i2p::client::context.GetSharedLocalDestination ())
SOCKSServer::SOCKSServer(const std::string& address, int port, std::shared_ptr<i2p::client::ClientDestination> localDestination) :
TCPIPAcceptor (address, port, localDestination ? localDestination : i2p::client::context.GetSharedLocalDestination ())
{
}