change ip address provider

removed null bomb
This commit is contained in:
Christian Schabesberger 2016-12-25 19:30:42 +01:00
parent e99e944ac3
commit 1aed11c156
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ public class ErrorActivity extends AppCompatActivity {
String ipRange = "none";
try {
Downloader dl = Downloader.getInstance();
String ip = dl.download("https://ifcfg.me/ip");
String ip = dl.download("https://ipv4.icanhazip.com");
ipRange = Parser.matchGroup1("([0-9]*\\.[0-9]*\\.)[0-9]*\\.[0-9]*", ip)
+ "0.0";