mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't use unreachable RI after 1 hour
This commit is contained in:
parent
7995385a19
commit
4c2f403740
3 changed files with 11 additions and 4 deletions
|
@ -257,6 +257,9 @@ namespace data
|
|||
case 'H':
|
||||
m_Caps |= Caps::eHidden;
|
||||
break;
|
||||
case 'U':
|
||||
m_Caps |= Caps::eUnreachable;
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
cap++;
|
||||
|
@ -465,7 +468,7 @@ namespace data
|
|||
|
||||
bool RouterInfo::UsesIntroducer () const
|
||||
{
|
||||
return !(m_Caps & Caps::eReachable); // non-reachable
|
||||
return m_Caps & Caps::eUnreachable; // non-reachable
|
||||
}
|
||||
|
||||
const RouterInfo::Address * RouterInfo::GetNTCPAddress (bool v4only) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue