1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-18 04:19:58 +00:00

fixed typo

This commit is contained in:
orignal 2023-04-06 16:19:56 -04:00
parent caff003a85
commit c1f19cb258

View File

@ -992,11 +992,11 @@ namespace data
{ {
auto addr = GetAddresses (); auto addr = GetAddresses ();
if (v4) if (v4)
return ((*addr)[eNTCP2V4] && ((*addr)[eNTCP2V4])->published) || return ((*addr)[eNTCP2V4Idx] && ((*addr)[eNTCP2V4Idx])->published) ||
((*addr)[eSSU2V4] && ((*addr)[eSSU2V4])->published); ((*addr)[eSSU2V4Idx] && ((*addr)[eSSU2V4Idx])->published);
else else
return ((*addr)[eNTCP2V6] && ((*addr)[eNTCP2V6])->published) || return ((*addr)[eNTCP2V6Idx] && ((*addr)[eNTCP2V6Idx])->published) ||
((*addr)[eSSU2V6] && ((*addr)[eSSU2V6])->published); ((*addr)[eSSU2V6Idx] && ((*addr)[eSSU2V6Idx])->published);
} }
bool RouterInfo::IsSSU2PeerTesting (bool v4) const bool RouterInfo::IsSSU2PeerTesting (bool v4) const