fix typo in CNetAddr::IsRFC4843() (fixes #850)
This commit is contained in:
parent
b7c25e0c13
commit
d3896211d2
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ bool CNetAddr::IsRFC6145() const
|
||||||
|
|
||||||
bool CNetAddr::IsRFC4843() 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
|
bool CNetAddr::IsLocal() const
|
||||||
|
|
Loading…
Reference in a new issue