mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-11 07:36:38 -07:00
Show paths as active or preferred in listpeers.
This commit is contained in:
parent
2160164e8c
commit
aa39b0dc24
2 changed files with 9 additions and 6 deletions
|
@ -266,6 +266,9 @@ public:
|
|||
return (p - startAt);
|
||||
}
|
||||
|
||||
inline bool operator==(const Path &p) const { return ((p._addr == _addr)&&(p._localAddress == _localAddress)); }
|
||||
inline bool operator!=(const Path &p) const { return ((p._addr != _addr)||(p._localAddress != _localAddress)); }
|
||||
|
||||
private:
|
||||
uint64_t _lastSend;
|
||||
uint64_t _lastReceived;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue