mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* fix updating address in RI
This commit is contained in:
@@ -90,9 +90,9 @@ namespace i2p
|
||||
}
|
||||
|
||||
std::string host; i2p::config::GetOption("host", host);
|
||||
if (host != "")
|
||||
if (host != "0.0.0.0")
|
||||
{
|
||||
LogPrint(eLogInfo, "Daemon: address for incoming connections is ", host);
|
||||
LogPrint(eLogInfo, "Daemon: setting address for incoming connections to ", host);
|
||||
i2p::context.UpdateAddress (boost::asio::ip::address::from_string (host));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user