diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2016-09-21 14:12:20 -0700 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2016-09-21 14:12:20 -0700 |
commit | 40d3993ceb64f924167572c3add7300abb434562 (patch) | |
tree | f8f4d2d59c34faea23d70b6441d53374e02d98c3 | |
parent | 0564bb3b35117c7367469dd5582a5a4093078586 (diff) | |
download | infinitytier-40d3993ceb64f924167572c3add7300abb434562.tar.gz infinitytier-40d3993ceb64f924167572c3add7300abb434562.zip |
java code still needed to reflect PEER_ROLE_RELAY rename to PEER_ROLE_UPSTREAM
-rw-r--r-- | java/jni/ZT_jniutils.cpp | 2 | ||||
-rw-r--r-- | java/src/com/zerotier/sdk/PeerRole.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/java/jni/ZT_jniutils.cpp b/java/jni/ZT_jniutils.cpp index 7ecc7256..27ca7374 100644 --- a/java/jni/ZT_jniutils.cpp +++ b/java/jni/ZT_jniutils.cpp @@ -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"; diff --git a/java/src/com/zerotier/sdk/PeerRole.java b/java/src/com/zerotier/sdk/PeerRole.java index d7d55f05..f281c1b6 100644 --- a/java/src/com/zerotier/sdk/PeerRole.java +++ b/java/src/com/zerotier/sdk/PeerRole.java @@ -34,9 +34,9 @@ public enum PeerRole { PEER_ROLE_LEAF, /** - * relay node + * upstream node */ - PEER_ROLE_RELAY, + PEER_ROLE_UPSTREAM, /** * root server |