From e9f7ad7501d3fc28ac6673d1e1205f51bab7baf0 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 17 Dec 2021 11:35:05 +0100 Subject: Import new OpenVPN3 version Signed-off-by: Arne Schwabe --- main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'main/src/ui') diff --git a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java index b9ed9822..0db2f16d 100644 --- a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java +++ b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java @@ -12,6 +12,7 @@ import net.openvpn.ovpn3.ClientAPI_ExternalPKICertRequest; import net.openvpn.ovpn3.ClientAPI_ExternalPKISignRequest; import net.openvpn.ovpn3.ClientAPI_LogInfo; import net.openvpn.ovpn3.ClientAPI_OpenVPNClient; +import net.openvpn.ovpn3.ClientAPI_OpenVPNClientHelper; import net.openvpn.ovpn3.ClientAPI_ProvideCreds; import net.openvpn.ovpn3.ClientAPI_Status; import net.openvpn.ovpn3.ClientAPI_TransportStats; @@ -33,6 +34,7 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable private VpnProfile mVp; private OpenVPNService mService; + private ClientAPI_OpenVPNClientHelper clientHelper = new ClientAPI_OpenVPNClientHelper(); public OpenVPNThreadv3(OpenVPNService openVpnService, VpnProfile vp) { mVp = vp; @@ -45,8 +47,11 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable if (!setConfig(configstr)) return; setUserPW(); - VpnStatus.logInfo(platform()); - VpnStatus.logInfo(copyright()); + + + + VpnStatus.logInfo(ClientAPI_OpenVPNClientHelper.platform()); + VpnStatus.logInfo(ClientAPI_OpenVPNClientHelper.copyright()); StatusPoller statuspoller = new StatusPoller(OpenVPNManagement.mBytecountInterval * 1000); -- cgit v1.2.3