mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
Don't use reversed port for choise random port. (by whothefuckami)
This commit is contained in:
parent
03111ad0df
commit
9e0c5d67c7
3 changed files with 24 additions and 1 deletions
|
@ -224,6 +224,7 @@ namespace util
|
|||
bool IsLocalAddress (const boost::asio::ip::address& addr);
|
||||
bool IsInReservedRange (const boost::asio::ip::address& host);
|
||||
bool IsYggdrasilAddress (const boost::asio::ip::address& addr);
|
||||
bool IsPortInReservedRange (const uint16_t port) noexcept;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue