don't accept tunnels if bandwidth is exceeded
This commit is contained in:
@@ -917,7 +917,7 @@ namespace data
|
||||
[compatibleWith](std::shared_ptr<const RouterInfo> router)->bool
|
||||
{
|
||||
return !router->IsHidden () && router != compatibleWith &&
|
||||
router->IsCompatible (*compatibleWith) && (router->GetCaps () & RouterInfo::eHighBandwidth);
|
||||
router->IsCompatible (*compatibleWith) && router->IsHighBandwidth ();
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user