diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/xapek/andiodine/IodineVpnService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/xapek/andiodine/IodineVpnService.java b/src/main/java/org/xapek/andiodine/IodineVpnService.java index 3f49e1f..bbe126b 100644 --- a/src/main/java/org/xapek/andiodine/IodineVpnService.java +++ b/src/main/java/org/xapek/andiodine/IodineVpnService.java @@ -210,7 +210,7 @@ public class IodineVpnService extends VpnService implements Runnable { setStatus(ACTION_STATUS_CONNECT, mConfiguration.getId(), null); String tunnelNameserver = IodineClient.getPropertyNetDns1(); - if (tunnelNameserver == "") { + if (tunnelNameserver.isEmpty()) { Log.e(TAG, "No valid IPv4 name servers detected. Aborting..."); return; } |