diff options
author | Grant Limberg <glimberg@gmail.com> | 2015-09-26 14:10:16 -0700 |
---|---|---|
committer | Grant Limberg <glimberg@gmail.com> | 2015-09-26 14:10:16 -0700 |
commit | 7c3be2b5c152e8631237c1050e0c90ad37dfcb1d (patch) | |
tree | 9e56acc4841ddd2c3702e881fac1723e72509feb | |
parent | 0b9e5928d35c43748d8cd413e05e5718f7b1fc52 (diff) | |
download | infinitytier-7c3be2b5c152e8631237c1050e0c90ad37dfcb1d.tar.gz infinitytier-7c3be2b5c152e8631237c1050e0c90ad37dfcb1d.zip |
fix function signature in lookup for onSendPacketRequested function
-rw-r--r-- | java/jni/com_zerotierone_sdk_Node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jni/com_zerotierone_sdk_Node.cpp b/java/jni/com_zerotierone_sdk_Node.cpp index e513cdf5..e1b69d1e 100644 --- a/java/jni/com_zerotierone_sdk_Node.cpp +++ b/java/jni/com_zerotierone_sdk_Node.cpp @@ -462,7 +462,7 @@ namespace { } jmethodID packetSenderCallbackMethod = lookup.findMethod(packetSenderClass, - "onSendPacketRequested", "(Ljava/net/InetSocketAddress;[B)I"); + "onSendPacketRequested", "(Ljava/net/InetSocketAddress;Ljava/net/InetSocketAddress;[B)I"); if(packetSenderCallbackMethod == NULL) { LOGE("Couldn't find onSendPacketRequested method"); |