temporary disable ip check:

when i2pd s starting, default ip address is set as 127.0.0.1
that causes problem that SSUv4 is not appers after start in RI
This commit is contained in:
R4SAS 2019-06-04 21:27:23 +03:00
parent 21cf4cfe2f
commit 06066a4df5
3 changed files with 21 additions and 13 deletions

View file

@ -212,7 +212,8 @@ namespace data
if (!ecode)
{
#if BOOST_VERSION >= 104900
if (!hostaddr.is_unspecified () && ((i2p::context.GetNetID () != I2PD_NET_ID) || !i2p::util::net::IsInReservedRange(hostaddr)))
//if (!hostaddr.is_unspecified () && ((i2p::context.GetNetID () != I2PD_NET_ID) || !i2p::util::net::IsInReservedRange(hostaddr)))
if (!hostaddr.is_unspecified ())
#else
hostaddr.to_string (ecode);
if (!ecode && ((i2p::context.GetNetID () != I2PD_NET_ID) || !i2p::util::net::IsInReservedRange(hostaddr)))