From af1d29cc6f02545c1c359c3adf7006041b07d699 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 25 May 2015 11:54:32 -0700 Subject: [PATCH] Remove obsolete method. --- node/Address.hpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/node/Address.hpp b/node/Address.hpp index 7548d56e2..137e4f4f3 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -166,23 +166,6 @@ public: return _a; } - /** - * 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 */