mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
fix
This commit is contained in:
parent
194d63acd8
commit
aa11a5deb8
@ -539,7 +539,7 @@ namespace client
|
|||||||
}
|
}
|
||||||
/** create new */
|
/** create new */
|
||||||
boost::asio::ip::udp::endpoint ep(boost::asio::ip::address::from_string("127.0.0.1"), 0);
|
boost::asio::ip::udp::endpoint ep(boost::asio::ip::address::from_string("127.0.0.1"), 0);
|
||||||
m_Sessions.push_back(UDPSession(m_Service, ep, m_Destination, ep, ih, localPort, remotePort));
|
m_Sessions.push_back(UDPSession(m_Service, ep, m_Destination, m_Endpoint, ih, localPort, remotePort));
|
||||||
return m_Sessions.back();
|
return m_Sessions.back();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -554,7 +554,9 @@ namespace client
|
|||||||
{
|
{
|
||||||
Receive();
|
Receive();
|
||||||
LogPrint(eLogDebug, "UDPSession: bound to ", IPSocket.local_endpoint());
|
LogPrint(eLogDebug, "UDPSession: bound to ", IPSocket.local_endpoint());
|
||||||
|
if (localEndpoint == endpoint) {
|
||||||
|
SendEndpoint = IPSocket.local_endpoint();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user