mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-15 21:58:21 +00:00
Refactor: move network COMs out of Network and into Peer in prep for tightening up multicast lookup and other things.
This commit is contained in:
@ -122,14 +122,6 @@ public:
|
||||
*/
|
||||
inline operator bool() const throw() { return (_addr); }
|
||||
|
||||
// Comparisons are by address only
|
||||
inline bool operator==(const Path &p) const throw() { return (_addr == p._addr); }
|
||||
inline bool operator!=(const Path &p) const throw() { return (_addr != p._addr); }
|
||||
inline bool operator<(const Path &p) const throw() { return (_addr < p._addr); }
|
||||
inline bool operator>(const Path &p) const throw() { return (_addr > p._addr); }
|
||||
inline bool operator<=(const Path &p) const throw() { return (_addr <= p._addr); }
|
||||
inline bool operator>=(const Path &p) const throw() { return (_addr >= p._addr); }
|
||||
|
||||
/**
|
||||
* Check whether this address is valid for a ZeroTier path
|
||||
*
|
||||
|
Reference in New Issue
Block a user