mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Fix startup with no configured peer_ip.
This commit is contained in:
@@ -23,7 +23,9 @@ static DH* handleTmpDh(SSL* ssl, int is_export, int iKeyLength)
|
||||
}
|
||||
|
||||
PeerDoor::PeerDoor(boost::asio::io_service& io_service) :
|
||||
mAcceptor(io_service, tcp::endpoint(address().from_string(theConfig.PEER_IP), theConfig.PEER_PORT)),
|
||||
mAcceptor(io_service,
|
||||
tcp::endpoint(address().from_string(theConfig.PEER_IP.empty() ? "0.0.0.0" : theConfig.PEER_IP),
|
||||
theConfig.PEER_PORT)),
|
||||
mCtx(boost::asio::ssl::context::sslv23), mDelayTimer(io_service)
|
||||
{
|
||||
mCtx.set_options(
|
||||
|
||||
Reference in New Issue
Block a user