mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 19:05:00 -04:00
some fixes
This commit is contained in:
parent
296ae46ed8
commit
8efa1313f3
67 changed files with 1523 additions and 757 deletions
|
@ -32,7 +32,7 @@ namespace epee
|
|||
namespace net_utils
|
||||
{
|
||||
inline
|
||||
bool is_ip_local(boost::uint32_t ip)
|
||||
bool is_ip_local(uint32_t ip)
|
||||
{
|
||||
/*
|
||||
local ip area
|
||||
|
@ -55,7 +55,7 @@ namespace epee
|
|||
return false;
|
||||
}
|
||||
inline
|
||||
bool is_ip_loopback(boost::uint32_t ip)
|
||||
bool is_ip_loopback(uint32_t ip)
|
||||
{
|
||||
if( (ip | 0xffffff00) == 0xffffff7f)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue