mirror of https://github.com/M66B/NetGuard.git
0.80 beta
This commit is contained in:
parent
be61bbb782
commit
bfbaae804b
|
@ -9,8 +9,8 @@ model {
|
|||
applicationId = "eu.faircode.netguard"
|
||||
minSdkVersion.apiLevel = 21
|
||||
targetSdkVersion.apiLevel = 23
|
||||
versionCode = 2016012801
|
||||
versionName = "0.79-beta"
|
||||
versionCode = 2016013001
|
||||
versionName = "0.80-beta"
|
||||
archivesBaseName = "NetGuard-v$versionName-$versionCode"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -697,7 +697,7 @@ public class SinkholeService extends VpnService implements SharedPreferences.OnS
|
|||
Log.i(TAG, "DNS system=" + sysDns + " VPN=" + vpnDns);
|
||||
try {
|
||||
if (TextUtils.isEmpty(vpnDns.trim()))
|
||||
throw new IllegalArgumentException("dns");
|
||||
throw new UnknownHostException("dns");
|
||||
InetAddress vpn = InetAddress.getByName(vpnDns);
|
||||
Log.i(TAG, "DNS using=" + vpn);
|
||||
return vpn;
|
||||
|
|
Loading…
Reference in New Issue