mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 22:58:22 +00:00
Update JNI with new root terminology
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
Reference in New Issue
Block a user