mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-04 08:17:30 +00:00
don't accept tunnels if bandwidth is exceeded
This commit is contained in:
1 parent
b693d13144
commit
47c3d5ed23
5 files changed
+11
-2
No files matched your search
@@ -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