summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-06-26 16:40:24 +0200
committercyBerta <cyberta@riseup.net>2024-06-26 16:40:24 +0200
commitc81753e4df82d35b7cd9527bd328d0c8d33712c0 (patch)
treeec078c271c8a85b4d8d60cd6df8bc4b1edce1c63 /app/src
parentcd2e002c9e0f10079d8c1ec7af1d4be54a9de9e0 (diff)
reset connection proxy port and host name in case we use an obfuscated connection, since use transparent proxying instead of a socks proxy, which these fields refer to
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/de/blinkt/openvpn/core/connection/Obfs4Connection.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/core/connection/Obfs4Connection.java b/app/src/main/java/de/blinkt/openvpn/core/connection/Obfs4Connection.java
index c646c099..0fe6bff2 100644
--- a/app/src/main/java/de/blinkt/openvpn/core/connection/Obfs4Connection.java
+++ b/app/src/main/java/de/blinkt/openvpn/core/connection/Obfs4Connection.java
@@ -16,8 +16,10 @@ public class Obfs4Connection extends Connection {
public Obfs4Connection(Obfs4Options options) {
setServerName(ObfsvpnClient.IP);
setServerPort(String.valueOf(ObfsvpnClient.PORT));
- setProxyType(ProxyType.NONE);
setUseUdp(true);
+ setProxyType(ProxyType.NONE);
+ setProxyName("");
+ setProxyPort("");
setProxyAuthUser(null);
setProxyAuthPassword(null);
setUseProxyAuth(false);