Skip to content

Commit

Permalink
fix ip
Browse files Browse the repository at this point in the history
  • Loading branch information
BPanther committed Feb 6, 2024
1 parent 62fe516 commit 21ff81a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/gui/network_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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');
Expand Down

0 comments on commit 21ff81a

Please sign in to comment.