mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc: fix connection check patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e57553ae7d
commit
36be00b307
@ -6,10 +6,10 @@ diff -Naur a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp
|
||||
bool CFileCurl::IsInternet(bool checkDNS /* = true */)
|
||||
{
|
||||
- CStdString strURL = "http://www.google.com";
|
||||
+ CStdString strURL = "http://openelec.tv";
|
||||
+ CStdString strURL = "http://releases.openelec.tv";
|
||||
if (!checkDNS)
|
||||
- strURL = "http://74.125.19.103"; // www.google.com ip
|
||||
+ strURL = "http://212.101.13.10"; // openelec.tv ip
|
||||
+ strURL = "http://212.101.13.11"; // openelec.tv ip
|
||||
|
||||
bool found = Exists(strURL);
|
||||
Close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user