diff options
author | Joseph Henry <josephjah@gmail.com> | 2018-06-22 16:30:20 -0700 |
---|---|---|
committer | Joseph Henry <josephjah@gmail.com> | 2018-06-22 16:30:20 -0700 |
commit | bdcdccfcc3157e62a4bc8078e583876cbef41223 (patch) | |
tree | 03c122a6421baa6e16e2b26d62b4b022df493c6b /service | |
parent | 52264d5e284c49817fa0a4dd4f1f0c9feeced41d (diff) | |
download | infinitytier-bdcdccfcc3157e62a4bc8078e583876cbef41223.tar.gz infinitytier-bdcdccfcc3157e62a4bc8078e583876cbef41223.zip |
Improved path selection, more efficient traffic allocation, lower QoS/ACK overhead
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index a1a9d981..9b12f17b 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -1229,7 +1229,7 @@ public: char peerAddrStr[256]; if (pl) { for(unsigned long i=0;i<pl->peerCount;++i) { - if (pl->peers[i].role == ZT_PEER_ROLE_LEAF) { + if (pl->peers[i].hadAggregateLink) { nlohmann::json pj; _peerAggregateLinkToJson(pj,&(pl->peers[i])); OSUtils::ztsnprintf(peerAddrStr,sizeof(peerAddrStr),"%.10llx",pl->peers[i].address); |