mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Report when interfaces are off.
This commit is contained in:
@@ -83,7 +83,11 @@ void Application::run()
|
||||
if(!theConfig.PEER_IP.empty() && theConfig.PEER_PORT)
|
||||
{
|
||||
mPeerDoor=new PeerDoor(mIOService);
|
||||
}//else BOOST_LOG_TRIVIAL(info) << "No Peer Port set. Not listening for connections.";
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "Peer interface: disabled" << std::endl;
|
||||
}
|
||||
|
||||
//
|
||||
// Allow RPC connections.
|
||||
@@ -91,7 +95,11 @@ void Application::run()
|
||||
if(!theConfig.RPC_IP.empty() && theConfig.RPC_PORT)
|
||||
{
|
||||
mRPCDoor=new RPCDoor(mIOService);
|
||||
}//else BOOST_LOG_TRIVIAL(info) << "No RPC Port set. Not listening for commands.";
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "RPC interface: disabled" << std::endl;
|
||||
}
|
||||
|
||||
//
|
||||
// Begin connectting to network.
|
||||
|
||||
Reference in New Issue
Block a user