Update JNI with new root terminology
This commit is contained in:
parent
c95bae2d73
commit
9ae49b5b85
2 changed files with 8 additions and 8 deletions
|
@ -182,11 +182,11 @@ jobject createPeerRole(JNIEnv *env, ZT_PeerRole role)
|
|||
case ZT_PEER_ROLE_LEAF:
|
||||
fieldName = "PEER_ROLE_LEAF";
|
||||
break;
|
||||
case ZT_PEER_ROLE_UPSTREAM:
|
||||
fieldName = "PEER_ROLE_UPSTREAM";
|
||||
case ZT_PEER_ROLE_MOON:
|
||||
fieldName = "PEER_ROLE_MOON";
|
||||
break;
|
||||
case ZT_PEER_ROLE_ROOT:
|
||||
fieldName = "PEER_ROLE_ROOTS";
|
||||
case ZT_PEER_ROLE_PLANET:
|
||||
fieldName = "PEER_ROLE_PLANET";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue