This commit is contained in:
Adam Ierymenko 2017-02-13 14:27:14 -08:00
commit 16f11e91d1
2 changed files with 8 additions and 8 deletions

View file

@ -182,11 +182,11 @@ jobject createPeerRole(JNIEnv *env, ZT_PeerRole role)
case ZT_PEER_ROLE_LEAF: case ZT_PEER_ROLE_LEAF:
fieldName = "PEER_ROLE_LEAF"; fieldName = "PEER_ROLE_LEAF";
break; break;
case ZT_PEER_ROLE_UPSTREAM: case ZT_PEER_ROLE_MOON:
fieldName = "PEER_ROLE_UPSTREAM"; fieldName = "PEER_ROLE_MOON";
break; break;
case ZT_PEER_ROLE_ROOT: case ZT_PEER_ROLE_PLANET:
fieldName = "PEER_ROLE_ROOTS"; fieldName = "PEER_ROLE_PLANET";
break; break;
} }

View file

@ -34,12 +34,12 @@ public enum PeerRole {
PEER_ROLE_LEAF, PEER_ROLE_LEAF,
/** /**
* upstream node * moon root
*/ */
PEER_ROLE_UPSTREAM, PEER_ROLE_MOON,
/** /**
* root server * planetary root
*/ */
PEER_ROLE_ROOT PEER_ROLE_PLANET
} }