fix typo in CNetAddr::IsRFC4843() (fixes #850)

This commit is contained in:
Wladimir J. van der Laan 2012-02-17 14:40:21 +01:00
parent b7c25e0c13
commit d3896211d2

View file

@ -402,7 +402,7 @@ bool CNetAddr::IsRFC6145() const
bool CNetAddr::IsRFC4843() const
{
return (GetByte(15) == 0x20 && GetByte(14) == 0x01 && GetByte(13) == 0x00 && GetByte(12) & 0xF0 == 0x10);
return (GetByte(15) == 0x20 && GetByte(14) == 0x01 && GetByte(13) == 0x00 && (GetByte(12) & 0xF0) == 0x10);
}
bool CNetAddr::IsLocal() const