Add more specific check in source==self case instead of dumping it.

This commit is contained in:
Adam Ierymenko 2017-02-01 14:18:56 -08:00
parent fc3f4fb988
commit 29ec7bf3a2
3 changed files with 32 additions and 0 deletions

View file

@ -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)
*