mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 21:14:42 +00:00
fix typo in CNetAddr::IsRFC4843() (fixes #850)
This commit is contained in:
parent
b7c25e0c13
commit
d3896211d2
@ -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…
x
Reference in New Issue
Block a user