Browse Source

fixed typo

debian
orignal 2 years ago
parent
commit
c1f19cb258
  1. 8
      libi2pd/RouterInfo.cpp

8
libi2pd/RouterInfo.cpp

@ -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

Loading…
Cancel
Save