summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2018-06-22 16:30:20 -0700
committerJoseph Henry <josephjah@gmail.com>2018-06-22 16:30:20 -0700
commitbdcdccfcc3157e62a4bc8078e583876cbef41223 (patch)
tree03c122a6421baa6e16e2b26d62b4b022df493c6b /service
parent52264d5e284c49817fa0a4dd4f1f0c9feeced41d (diff)
downloadinfinitytier-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.cpp2
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);