Skip to content

Commit

Permalink
update to new VPN package
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Nov 3, 2016
1 parent 24a97f2 commit fbc279c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tun2socks/tun2socks.c
Expand Up @@ -355,7 +355,7 @@ void PsiphonLog(const char *levelStr, const char *channelStr, const char *msgStr
jstring channel = (*g_env)->NewStringUTF(g_env, channelStr);
jstring msg = (*g_env)->NewStringUTF(g_env, msgStr);

jclass cls = (*g_env)->FindClass(g_env, "org/torproject/android/vpn/Tun2Socks");
jclass cls = (*g_env)->FindClass(g_env, "org/torproject/android/service/vpn/Tun2Socks");
jmethodID logMethod = (*g_env)->GetStaticMethodID(g_env, cls, "logTun2Socks", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V");
(*g_env)->CallStaticVoidMethod(g_env, cls, logMethod, level, channel, msg);

Expand All @@ -367,7 +367,7 @@ void PsiphonLog(const char *levelStr, const char *channelStr, const char *msgStr
}

// org.torproject.android.vpn.Tun2Socks.runTun2Socks
JNIEXPORT jint JNICALL Java_org_torproject_android_vpn_Tun2Socks_runTun2Socks(
JNIEXPORT jint JNICALL Java_org_torproject_android_service_vpn_Tun2Socks_runTun2Socks(
JNIEnv* env,
jclass cls,
jint vpnInterfaceFileDescriptor,
Expand Down Expand Up @@ -413,7 +413,7 @@ JNIEXPORT jint JNICALL Java_org_torproject_android_vpn_Tun2Socks_runTun2Socks(
return 1;
}

JNIEXPORT jint JNICALL Java_org_torproject_android_vpn_Tun2Socks_terminateTun2Socks(
JNIEXPORT jint JNICALL Java_org_torproject_android_service_vpn_Tun2Socks_terminateTun2Socks(
jclass cls,
JNIEnv* env)
{
Expand Down

0 comments on commit fbc279c

Please sign in to comment.