mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
android: Change log message when initializing the native code and add a divider
We don't really start a daemon and the divider should make it easier to identify retries.
This commit is contained in:
parent
ef0f0cc839
commit
19c95c9bc4
@ -633,6 +633,7 @@ JNI_METHOD(CharonVpnService, initializeCharon, jboolean,
|
|||||||
|
|
||||||
/* set options before initializing other libraries that might read them */
|
/* set options before initializing other libraries that might read them */
|
||||||
logfile = androidjni_convert_jstring(env, jlogfile);
|
logfile = androidjni_convert_jstring(env, jlogfile);
|
||||||
|
|
||||||
set_options(logfile);
|
set_options(logfile);
|
||||||
free(logfile);
|
free(logfile);
|
||||||
|
|
||||||
@ -661,7 +662,8 @@ JNI_METHOD(CharonVpnService, initializeCharon, jboolean,
|
|||||||
{
|
{
|
||||||
memset(&utsname, 0, sizeof(utsname));
|
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,
|
"%s %s, %s)", android_version_string, android_device_string,
|
||||||
utsname.sysname, utsname.release, utsname.machine);
|
utsname.sysname, utsname.release, utsname.machine);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user