diff options
author | Will Szumski <will@cowboycoders.org> | 2016-11-22 21:21:23 +0000 |
---|---|---|
committer | yvesf <yvesf-git@xapek.org> | 2016-11-22 23:24:15 +0100 |
commit | 089c895f54af5bf5325c09dff794e7415296eb1d (patch) | |
tree | 31807cac7ca338f5afa8f331a47885f45f0b0388 /src | |
parent | 8ce535e672efb48e82a559bac0f5be7136c82344 (diff) | |
download | andiodine-089c895f54af5bf5325c09dff794e7415296eb1d.tar.gz andiodine-089c895f54af5bf5325c09dff794e7415296eb1d.zip |
typo fix: tunnelNamesver -> tunnelNameserver
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/xapek/andiodine/IodineVpnService.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/xapek/andiodine/IodineVpnService.java b/src/main/java/org/xapek/andiodine/IodineVpnService.java index 02544b5..3f49e1f 100644 --- a/src/main/java/org/xapek/andiodine/IodineVpnService.java +++ b/src/main/java/org/xapek/andiodine/IodineVpnService.java @@ -209,21 +209,21 @@ public class IodineVpnService extends VpnService implements Runnable { Log.d(TAG, "VPN Thread enter"); setStatus(ACTION_STATUS_CONNECT, mConfiguration.getId(), null); - String tunnelNamesver = IodineClient.getPropertyNetDns1(); - if (tunnelNamesver == "") { + String tunnelNameserver = IodineClient.getPropertyNetDns1(); + if (tunnelNameserver == "") { Log.e(TAG, "No valid IPv4 name servers detected. Aborting..."); return; } - Log.d(TAG, "using name server: " + tunnelNamesver); + Log.d(TAG, "using name server: " + tunnelNameserver); if (!"".equals(mConfiguration.getTunnelNameserver())) { - tunnelNamesver = mConfiguration.getTunnelNameserver(); + tunnelNameserver = mConfiguration.getTunnelNameserver(); } String password = ""; if (!"".equals(mConfiguration.getPassword())) { password = mConfiguration.getPassword(); } - int ret = IodineClient.connect(tunnelNamesver, mConfiguration.getTopDomain(), mConfiguration.getRawMode(), + int ret = IodineClient.connect(tunnelNameserver, mConfiguration.getTopDomain(), mConfiguration.getRawMode(), mConfiguration.getLazyMode(), password, mConfiguration.getRequestHostnameSize(), mConfiguration.getResponseFragmentSize()); |