mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-15 03:05:20 +00:00
pass our address as boost's address
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ namespace i2p
|
||||
i2p::context.UpdatePort (port);
|
||||
const char * host = i2p::util::config::GetCharArg("-host", "");
|
||||
if (host && host[0])
|
||||
i2p::context.UpdateAddress (host);
|
||||
i2p::context.UpdateAddress (boost::asio::ip::address::from_string (host));
|
||||
|
||||
if (i2p::util::config::GetArg("-unreachable", 0))
|
||||
i2p::context.SetUnreachable ();
|
||||
|
||||
Reference in New Issue
Block a user