mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00: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 (
|
return GetRandomSession (
|
||||||
[excluded](std::shared_ptr<SSUSession> session)->bool
|
[excluded](std::shared_ptr<SSUSession> session)->bool
|
||||||
{
|
{
|
||||||
return session->GetState () == eSessionStateEstablished &&
|
return session->GetState () == eSessionStateEstablished && !session->IsV6 () &&
|
||||||
session != excluded;
|
session != excluded;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user