diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2018-12-06 13:08:39 -0800 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2018-12-06 13:08:39 -0800 |
commit | 20f02bb772cde179b6d58f33199aaaead3abba87 (patch) | |
tree | 65a49e7f4ebb61628e6c29056380f974f54dc3ea /node/Multicaster.hpp | |
parent | 1c86f25fab57f4c2bc3f314683a911959f90b9b8 (diff) | |
parent | e6f9ab929df19ba667441b005ae2b9771922a92c (diff) | |
download | infinitytier-20f02bb772cde179b6d58f33199aaaead3abba87.tar.gz infinitytier-20f02bb772cde179b6d58f33199aaaead3abba87.zip |
Merge branch 'dev' of http://git.int.zerotier.com/ZeroTier/ZeroTierOne into dev
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r-- | node/Multicaster.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index e57f81fe..c6c2a209 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -203,6 +203,10 @@ private: MulticastGroupMember() {} MulticastGroupMember(const Address &a,uint64_t ts) : address(a),timestamp(ts) {} + inline bool operator<(const Address &a) const { return (address < a); } + inline bool operator==(const Address &a) const { return (address == a); } + inline bool operator!=(const Address &a) const { return (address != a); } + Address address; uint64_t timestamp; // time of last notification }; |