1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-22 05:03:20 +00:00

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

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