mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00:00
check NTCP2 for addreses comparison
This commit is contained in:
parent
062d8d0f4f
commit
9dd38b99d6
@ -117,7 +117,8 @@ namespace data
|
|||||||
|
|
||||||
bool operator==(const Address& other) const
|
bool operator==(const Address& other) const
|
||||||
{
|
{
|
||||||
return transportStyle == other.transportStyle && host == other.host && port == other.port;
|
return transportStyle == other.transportStyle && IsNTCP2 () == other.IsNTCP2 () &&
|
||||||
|
host == other.host && port == other.port;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const Address& other) const
|
bool operator!=(const Address& other) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user