reflect changes to ZT1_PeerRole in JNI

This commit is contained in:
Grant Limberg 2015-06-26 18:26:57 -07:00
parent 9c26d10ea6
commit c9919cc5ba
2 changed files with 8 additions and 8 deletions

View file

@ -171,11 +171,11 @@ jobject createPeerRole(JNIEnv *env, ZT1_PeerRole role)
case ZT1_PEER_ROLE_LEAF:
fieldName = "PEER_ROLE_LEAF";
break;
case ZT1_PEER_ROLE_HUB:
fieldName = "PEER_ROLE_HUB";
case ZT1_PEER_ROLE_RELAY:
fieldName = "PEER_ROLE_RELAY";
break;
case ZT1_PEER_ROLE_ROOTSERVER:
fieldName = "PEER_ROLE_ROOTSERVER";
case ZT1_PEER_ROLE_ROOT:
fieldName = "PEER_ROLE_ROOT";
break;
}