Port multipath improvements to newer version
This commit is contained in:
parent
024649c175
commit
2e6cda38f6
9 changed files with 120 additions and 47 deletions
|
@ -637,6 +637,7 @@ static void _peerToJson(nlohmann::json &pj,const ZT_Peer *peer, SharedPtr<Bond>
|
|||
j["expired"] = (bool)(peer->paths[i].expired != 0);
|
||||
j["preferred"] = (bool)(peer->paths[i].preferred != 0);
|
||||
j["localSocket"] = peer->paths[i].localSocket;
|
||||
j["localPort"] = peer->paths[i].localPort;
|
||||
if (bond && peer->isBonded) {
|
||||
uint64_t now = OSUtils::now();
|
||||
j["ifname"] = std::string(peer->paths[i].ifname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue