mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't accept tunnels if bandwidth is exceeded
This commit is contained in:
parent
b693d13144
commit
47c3d5ed23
5 changed files with 11 additions and 2 deletions
|
@ -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 ();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue