mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
java code still needed to reflect PEER_ROLE_RELAY rename to PEER_ROLE_UPSTREAM
This commit is contained in:
parent
0564bb3b35
commit
40d3993ceb
2 changed files with 3 additions and 3 deletions
|
@ -181,7 +181,7 @@ jobject createPeerRole(JNIEnv *env, ZT_PeerRole role)
|
||||||
fieldName = "PEER_ROLE_LEAF";
|
fieldName = "PEER_ROLE_LEAF";
|
||||||
break;
|
break;
|
||||||
case ZT_PEER_ROLE_UPSTREAM:
|
case ZT_PEER_ROLE_UPSTREAM:
|
||||||
fieldName = "PEER_ROLE_RELAY";
|
fieldName = "PEER_ROLE_UPSTREAM";
|
||||||
break;
|
break;
|
||||||
case ZT_PEER_ROLE_ROOT:
|
case ZT_PEER_ROLE_ROOT:
|
||||||
fieldName = "PEER_ROLE_ROOTS";
|
fieldName = "PEER_ROLE_ROOTS";
|
||||||
|
|
|
@ -34,9 +34,9 @@ public enum PeerRole {
|
||||||
PEER_ROLE_LEAF,
|
PEER_ROLE_LEAF,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* relay node
|
* upstream node
|
||||||
*/
|
*/
|
||||||
PEER_ROLE_RELAY,
|
PEER_ROLE_UPSTREAM,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* root server
|
* root server
|
||||||
|
|
Loading…
Add table
Reference in a new issue