use v4 only sessions between Bob and Charlie

This commit is contained in:
orignal 2015-03-04 12:50:31 -05:00
parent c0043e5098
commit 7fbe2754a4

View File

@ -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;
}
);