0.80 beta

This commit is contained in:
M66B 2016-01-30 17:08:30 +01:00
parent be61bbb782
commit bfbaae804b
2 changed files with 3 additions and 3 deletions

View File

@ -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"
}
}

View File

@ -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;