Browse Source

use v4 only sessions between Bob and Charlie

pull/163/head
orignal 10 years ago
parent
commit
7fbe2754a4
  1. 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…
Cancel
Save