Browse Source

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

pull/1/head
Wladimir J. van der Laan 11 years ago
parent
commit
d3896211d2
  1. 2
      src/netbase.cpp

2
src/netbase.cpp

@ -402,7 +402,7 @@ bool CNetAddr::IsRFC6145() const @@ -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

Loading…
Cancel
Save