summaryrefslogtreecommitdiff
path: root/main/src/ui
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-12-17 11:35:05 +0100
committerArne Schwabe <arne@rfc2549.org>2021-12-17 11:36:32 +0100
commite9f7ad7501d3fc28ac6673d1e1205f51bab7baf0 (patch)
treebbe7836f9ca247e9c4a15378aa88e3fa3922a967 /main/src/ui
parent4466103d770c353cfb8d4ea08093560ba28d58b8 (diff)
Import new OpenVPN3 version
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Diffstat (limited to 'main/src/ui')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java9
1 files changed, 7 insertions, 2 deletions
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);