From 6e23986bb322370e02de119cb534183774a317c0 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 13 Oct 2014 13:09:02 -0700 Subject: [PATCH] Another build fix. --- node/Node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Node.cpp b/node/Node.cpp index 34f247b44..2f97c9990 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -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();