diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-02-17 14:40:21 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-02-17 14:40:21 +0100 |
commit | d3896211d2c30de6968a6cead8d1debdc9002513 (patch) | |
tree | ad4c921bd15dcdae3942d22522ecc77cf601a7fe /src/netbase.cpp | |
parent | b7c25e0c1346256be12310264ea5cc4ce7794118 (diff) |
fix typo in CNetAddr::IsRFC4843() (fixes #850)
Diffstat (limited to 'src/netbase.cpp')
-rw-r--r-- | src/netbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp index 54aa933a54..7799a65972 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -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 |