mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 18:56:24 +00:00
Another build fix.
This commit is contained in:
parent
1921e28c5f
commit
6e23986bb3
@ -847,7 +847,7 @@ ZT1_Node_PeerList *Node::listPeers()
|
||||
p->first->address().toString(prec->address,sizeof(prec->address));
|
||||
prec->rawAddress = p->first->address().toInt();
|
||||
prec->latency = p->first->latency();
|
||||
prec->role = RR->topology->isSupernode(p->first->address()) ? ZT1_Node_Peer_SUPERNODE : ZT1_Node_Peer_NODE;
|
||||
prec->role = RR->topology->isSupernode(p->first->address()) ? ZT1_Node_Peer::ZT1_Node_Peer_SUPERNODE : ZT1_Node_Peer::ZT1_Node_Peer_NODE;
|
||||
|
||||
prec->paths = (ZT1_Node_PhysicalPath *)buf;
|
||||
buf += sizeof(ZT1_Node_PhysicalPath) * p->second.size();
|
||||
|
Loading…
Reference in New Issue
Block a user