java code still needed to reflect PEER_ROLE_RELAY rename to PEER_ROLE_UPSTREAM

This commit is contained in:
Grant Limberg 2016-09-21 14:12:20 -07:00
parent 0564bb3b35
commit 40d3993ceb
2 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ jobject createPeerRole(JNIEnv *env, ZT_PeerRole role)
fieldName = "PEER_ROLE_LEAF";
break;
case ZT_PEER_ROLE_UPSTREAM:
fieldName = "PEER_ROLE_RELAY";
fieldName = "PEER_ROLE_UPSTREAM";
break;
case ZT_PEER_ROLE_ROOT:
fieldName = "PEER_ROLE_ROOTS";