diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-03-28 08:40:16 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-04-26 21:20:02 +0200 |
commit | b51aaf1c42d9936ddbe8ec48a0d9b675221ab7ba (patch) | |
tree | 97be0a701731d6c02e528c95b5023dbafc69d527 /src/netaddress.cpp | |
parent | 95f5e44075028d86ac35839696a0df51792a4f04 (diff) |
Remove unused C++ code not covered by unit tests
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r-- | src/netaddress.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp index ab07270f3f..34a7029862 100644 --- a/src/netaddress.cpp +++ b/src/netaddress.cpp @@ -179,12 +179,6 @@ bool CNetAddr::IsLocal() const return false; } -bool CNetAddr::IsMulticast() const -{ - return (IsIPv4() && (GetByte(3) & 0xF0) == 0xE0) - || (GetByte(15) == 0xFF); -} - bool CNetAddr::IsValid() const { // Cleanup 3-byte shifted addresses caused by garbage in size field |