summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-25 11:54:32 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-05-25 11:54:32 -0700
commitaf1d29cc6f02545c1c359c3adf7006041b07d699 (patch)
tree8585d5cd38e1f105b0f211b629b48eedccf58afb /node
parent91f02d699e6a53eb414350bb4e841952e6d1f8b1 (diff)
downloadinfinitytier-af1d29cc6f02545c1c359c3adf7006041b07d699.tar.gz
infinitytier-af1d29cc6f02545c1c359c3adf7006041b07d699.zip
Remove obsolete method.
Diffstat (limited to 'node')
-rw-r--r--node/Address.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/node/Address.hpp b/node/Address.hpp
index 7548d56e..137e4f4f 100644
--- a/node/Address.hpp
+++ b/node/Address.hpp
@@ -167,23 +167,6 @@ public:
}
/**
- * Test whether this address is within a multicast propagation prefix
- *
- * Multicast propagation prefixes are (right-to-left a.k.a. LSB to MSB)
- * bit pattern prefixes of prefixBits bits that restrict which peers are
- * visited along a given multicast graph traversal path.
- *
- * @param prefix Prefix bit pattern (LSB to MSB)
- * @param prefixBits Number of bits in prefix bit pattern
- * @return True if address is within prefix
- */
- inline bool withinMulticastPropagationPrefix(uint64_t prefix,unsigned int prefixBits) const
- throw()
- {
- return ((_a & (0xffffffffffffffffULL >> (64 - prefixBits))) == prefix);
- }
-
- /**
* @return Hexadecimal string
*/
inline std::string toString() const