From 21ff81ab17dfb8999cad03017de7ffe84036d314 Mon Sep 17 00:00:00 2001 From: BPanther Date: Tue, 6 Feb 2024 23:59:41 +0100 Subject: [PATCH] fix ip --- src/gui/network_setup.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gui/network_setup.cpp b/src/gui/network_setup.cpp index e2557ef22..5cc5ac57a 100644 --- a/src/gui/network_setup.cpp +++ b/src/gui/network_setup.cpp @@ -687,15 +687,15 @@ void CNetworkSetup::showCurrentNetworkSettings() const char * CNetworkSetup::mypinghost(std::string &host) { - int retvalue = pinghost(host); - switch (retvalue) - { - case 1: return (g_Locale->getText(LOCALE_PING_OK)); - case 0: return (g_Locale->getText(LOCALE_PING_UNREACHABLE)); - case -1: return (g_Locale->getText(LOCALE_PING_PROTOCOL)); - case -2: return (g_Locale->getText(LOCALE_PING_SOCKET)); - } - return ""; + int retvalue = pinghost(host); + switch (retvalue) + { + case 1: return (g_Locale->getText(LOCALE_PING_OK)); + case 0: return (g_Locale->getText(LOCALE_PING_UNREACHABLE)); + case -1: return (g_Locale->getText(LOCALE_PING_PROTOCOL)); + case -2: return (g_Locale->getText(LOCALE_PING_SOCKET)); + } + return ""; } void CNetworkSetup::testNetworkSettings() @@ -710,7 +710,7 @@ void CNetworkSetup::testNetworkSettings() //set wiki-URL and wiki-IP std::string wiki_URL = "wiki.tuxbox-neutrino.org"; - std::string wiki_IP = "93.218.197.51"; + std::string wiki_IP = "77.11.53.128"; //get www-domain testsite from /.version CConfigFile config('\t');