Add more specific check in source==self case instead of dumping it.
This commit is contained in:
parent
fc3f4fb988
commit
29ec7bf3a2
3 changed files with 32 additions and 0 deletions
|
@ -358,6 +358,12 @@ public:
|
|||
*/
|
||||
bool findBetterEndpoint(InetAddress &redirectTo,const Address &peerAddress,const InetAddress &peerPhysicalAddress,bool offload);
|
||||
|
||||
/**
|
||||
* @param ip Address to check
|
||||
* @return True if this is a cluster frontplane address (excluding our addresses)
|
||||
*/
|
||||
bool isClusterPeerFrontplane(const InetAddress &ip) const;
|
||||
|
||||
/**
|
||||
* Fill out ZT_ClusterStatus structure (from core API)
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue