mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
use v4 only sessions between Bob and Charlie
This commit is contained in:
parent
c0043e5098
commit
7fbe2754a4
2
SSU.cpp
2
SSU.cpp
@ -386,7 +386,7 @@ namespace transport
|
||||
return GetRandomSession (
|
||||
[excluded](std::shared_ptr<SSUSession> session)->bool
|
||||
{
|
||||
return session->GetState () == eSessionStateEstablished &&
|
||||
return session->GetState () == eSessionStateEstablished && !session->IsV6 () &&
|
||||
session != excluded;
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user