mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
change status back to Testing from Unknow if next test was accepted
This commit is contained in:
parent
81f53d313c
commit
3ae885d120
@ -2001,6 +2001,8 @@ namespace transport
|
|||||||
{
|
{
|
||||||
if (buf[1] == eSSU2PeerTestCodeAccept)
|
if (buf[1] == eSSU2PeerTestCodeAccept)
|
||||||
{
|
{
|
||||||
|
if (GetRouterStatus () == eRouterStatusUnknown)
|
||||||
|
SetRouterStatus (eRouterStatusTesting);
|
||||||
auto r = i2p::data::netdb.FindRouter (buf + 3); // find Charlie
|
auto r = i2p::data::netdb.FindRouter (buf + 3); // find Charlie
|
||||||
if (r && it->second.first)
|
if (r && it->second.first)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user