mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle 'reservedrange' param properly
This commit is contained in:
parent
2ad26dd4c9
commit
ca9782dd0d
8 changed files with 36 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2023, The PurpleI2P Project
|
||||
* Copyright (c) 2013-2024, The PurpleI2P Project
|
||||
*
|
||||
* This file is part of Purple i2pd project and licensed under BSD3
|
||||
*
|
||||
|
@ -167,7 +167,8 @@ namespace transport
|
|||
void PeerTest (bool ipv4 = true, bool ipv6 = true);
|
||||
|
||||
void SetCheckReserved (bool check) { m_CheckReserved = check; };
|
||||
bool IsCheckReserved () { return m_CheckReserved; };
|
||||
bool IsCheckReserved () const { return m_CheckReserved; };
|
||||
bool IsInReservedRange (const boost::asio::ip::address& host) const;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue