From 089c895f54af5bf5325c09dff794e7415296eb1d Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 22 Nov 2016 21:21:23 +0000 Subject: typo fix: tunnelNamesver -> tunnelNameserver --- src/main/java/org/xapek/andiodine/IodineVpnService.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main') 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()); -- cgit v1.2.1