summaryrefslogtreecommitdiff
path: root/service/ControlPlane.cpp
diff options
context:
space:
mode:
authorKees Bos <k.bos@capitar.com>2015-05-06 12:05:20 +0200
committerKees Bos <k.bos@capitar.com>2015-05-06 12:05:20 +0200
commita425bbc67301bf486fe5b0aba8adb59ae791403e (patch)
tree460b6c5a5c2ed852903fac2a9703c6f06534f79f /service/ControlPlane.cpp
parent845955dea53035e8472059ff03feca9f47c0d5fa (diff)
downloadinfinitytier-a425bbc67301bf486fe5b0aba8adb59ae791403e.tar.gz
infinitytier-a425bbc67301bf486fe5b0aba8adb59ae791403e.zip
Renamed supernode to rootserver
Diffstat (limited to 'service/ControlPlane.cpp')
-rw-r--r--service/ControlPlane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp
index 4158ed43..e42c9ef8 100644
--- a/service/ControlPlane.cpp
+++ b/service/ControlPlane.cpp
@@ -213,7 +213,7 @@ static void _jsonAppend(unsigned int depth,std::string &buf,const ZT1_Peer *peer
switch(peer->role) {
case ZT1_PEER_ROLE_LEAF: prole = "LEAF"; break;
case ZT1_PEER_ROLE_HUB: prole = "HUB"; break;
- case ZT1_PEER_ROLE_SUPERNODE: prole = "SUPERNODE"; break;
+ case ZT1_PEER_ROLE_ROOTSERVER: prole = "ROOT"; break;
}
Utils::snprintf(json,sizeof(json),