]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Change log message when initializing the native code and add a divider
authorTobias Brunner <tobias@strongswan.org>
Fri, 29 Jun 2018 10:07:17 +0000 (12:07 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 3 Jul 2018 09:31:44 +0000 (11:31 +0200)
We don't really start a daemon and the divider should make it easier to
identify retries.

src/frontends/android/app/src/main/jni/libandroidbridge/charonservice.c

index 1a6a7e680355b7025436dc31e4a1506205f84c3b..c8c300a8a5da151c777fcaa939682cb56331d1ea 100644 (file)
@@ -633,6 +633,7 @@ JNI_METHOD(CharonVpnService, initializeCharon, jboolean,
 
        /* set options before initializing other libraries that might read them */
        logfile = androidjni_convert_jstring(env, jlogfile);
+
        set_options(logfile);
        free(logfile);
 
@@ -661,7 +662,8 @@ JNI_METHOD(CharonVpnService, initializeCharon, jboolean,
        {
                memset(&utsname, 0, sizeof(utsname));
        }
-       DBG1(DBG_DMN, "Starting IKE charon daemon (strongSwan "VERSION", %s, %s, "
+       DBG1(DBG_DMN, "+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+");
+       DBG1(DBG_DMN, "Starting IKE service (strongSwan "VERSION", %s, %s, "
                 "%s %s, %s)", android_version_string, android_device_string,
                  utsname.sysname, utsname.release, utsname.machine);