mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
always request through tunnels in case of restricted routes
This commit is contained in:
parent
592d6ae4f4
commit
d96803a290
3 changed files with 18 additions and 10 deletions
|
@ -165,7 +165,7 @@ namespace transport
|
|||
/** restrict routes to use only these router families for first hops */
|
||||
void RestrictRoutesToFamilies(const std::set<std::string>& families);
|
||||
/** restrict routes to use only these routers for first hops */
|
||||
void RestrictRoutesToRouters(std::set<i2p::data::IdentHash> routers);
|
||||
void RestrictRoutesToRouters(const std::set<i2p::data::IdentHash>& routers);
|
||||
|
||||
bool IsRestrictedPeer(const i2p::data::IdentHash & ident) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue