mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass our address as boost's address
This commit is contained in:
parent
d513f20225
commit
a3fd338fab
5 changed files with 14 additions and 15 deletions
|
@ -623,7 +623,7 @@ namespace transport
|
|||
{
|
||||
LogPrint ("Connected");
|
||||
if (GetSocket ().local_endpoint ().protocol () == boost::asio::ip::tcp::v6()) // ipv6
|
||||
context.UpdateV6Address (GetSocket ().local_endpoint ().address ().to_string ());
|
||||
context.UpdateNTCPV6Address (GetSocket ().local_endpoint ().address ());
|
||||
ClientLogin ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue