summaryrefslogtreecommitdiff
path: root/service/ControlPlane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'service/ControlPlane.cpp')
-rw-r--r--service/ControlPlane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp
index 7e5addc8..0b0fbc09 100644
--- a/service/ControlPlane.cpp
+++ b/service/ControlPlane.cpp
@@ -226,8 +226,8 @@ static void _jsonAppend(unsigned int depth,std::string &buf,const ZT_Peer *peer)
const char *prole = "";
switch(peer->role) {
case ZT_PEER_ROLE_LEAF: prole = "LEAF"; break;
- case ZT_PEER_ROLE_UPSTREAM: prole = "UPSTREAM"; break;
- case ZT_PEER_ROLE_ROOT: prole = "ROOT"; break;
+ case ZT_PEER_ROLE_MOON: prole = "MOON"; break;
+ case ZT_PEER_ROLE_PLANET: prole = "PLANET"; break;
}
Utils::snprintf(json,sizeof(json),