]> git.ipfire.org Git - thirdparty/strongswan.git/commit
android: Change how initial log handler is registered
authorTobias Brunner <tobias@strongswan.org>
Tue, 31 Mar 2020 12:56:38 +0000 (14:56 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Jun 2020 12:07:06 +0000 (14:07 +0200)
commitf3695d089b22833c8287bf63f4a8ce336ba5569a
treec19df4d83623bd5babb82059b9996bdecfcfd582
parent070cd12dfb074ca31cf6508986b3f0a6f479aa7d
android: Change how initial log handler is registered

Previously, if the two utility functions were called while the VPN
connection was established (i.e. charon was initialized) the logger for
libstrongswan would get reset to the initial log handler.  So certain
log messages would not get logged to the log file after the TUN device
was created (one of the helpers is used to convert IPs there).
src/frontends/android/app/src/main/jni/libandroidbridge/charonservice.c