This commit is contained in:
william-swarmbotics 2025-08-04 10:00:38 -07:00 committed by GitHub
commit 7981935d76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -694,6 +694,7 @@ static void _peerToJson(nlohmann::json& pj, const ZT_Peer* peer, SharedPtr<Bond>
if (bond && peer->isBonded) {
pj["bondingPolicyCode"] = peer->bondingPolicy;
pj["bondingPolicyStr"] = Bond::getPolicyStrByCode(peer->bondingPolicy);
pj["linkSelectMethod"] = bond->getLinkSelectMethod();
pj["numAliveLinks"] = peer->numAliveLinks;
pj["numTotalLinks"] = peer->numTotalLinks;
pj["failoverInterval"] = bond->getFailoverInterval();