From 65d41b983d6e62cb3b7e812da155b092ca29bb11 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 6 Jan 2023 22:26:46 +0100 Subject: [PATCH] network_setup.cpp: use global ip and domain for network test Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/504bce9705594dbd51697d6df73738e87fed5f78 Author: Thilo Graf Date: 2023-01-06 (Fri, 06 Jan 2023) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/network_setup.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/network_setup.cpp b/src/gui/network_setup.cpp index 48a1ff154..b0c681874 100644 --- a/src/gui/network_setup.cpp +++ b/src/gui/network_setup.cpp @@ -725,9 +725,9 @@ void CNetworkSetup::testNetworkSettings() //set default testdomain std::string defaultsite = "www.google.de"; - //set wiki-URL and wiki-IP - std::string wiki_URL = "wiki.tuxbox-neutrino.org"; - std::string wiki_IP = "81.7.17.245"; + //set test-URL and test-IP + std::string test_URL = "tuxbox-neutrino.org"; + std::string test_IP = "89.31.143.1"; //get www-domain testsite from /.version CConfigFile config('\t'); @@ -791,12 +791,12 @@ void CNetworkSetup::testNetworkSettings() text += testsite + ":\n"; text += offset + "via DNS: " + mypinghost(testsite) + "\n"; } - //Wiki - text += wiki_URL + ":\n"; - text += offset + "via IP (" + wiki_IP + "): " + mypinghost(wiki_IP) + "\n"; + //Test-URL + text += test_URL + ":\n"; + text += offset + "via IP (" + test_IP + "): " + mypinghost(test_IP) + "\n"; if (pinghost(our_nameserver) == 1) { - text += offset + "via DNS: " + mypinghost(wiki_URL) + "\n"; + text += offset + "via DNS: " + mypinghost(test_URL) + "\n"; //testsite (or defaultsite) #if 0 text += testsite + ":\n";