summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-19 16:28:20 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-19 16:28:20 +0000
commit35753cd2ae43eae3ab619706c3035720e376af94 (patch)
tree4f18f0bb16a14b1db13b1eed274e6985aeaf4813
parentc4442b749a2ce59ee0c8549d8d02636d8a7e326a (diff)
downloaddrakx-backup-do-not-use-35753cd2ae43eae3ab619706c3035720e376af94.tar
drakx-backup-do-not-use-35753cd2ae43eae3ab619706c3035720e376af94.tar.gz
drakx-backup-do-not-use-35753cd2ae43eae3ab619706c3035720e376af94.tar.bz2
drakx-backup-do-not-use-35753cd2ae43eae3ab619706c3035720e376af94.tar.xz
drakx-backup-do-not-use-35753cd2ae43eae3ab619706c3035720e376af94.zip
use mandriva.com for connection tests
-rw-r--r--perl-install/network/test.pm6
-rw-r--r--perl-install/network/tools.pm2
2 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/test.pm b/perl-install/network/test.pm
index 7c25fce05..435e8a676 100644
--- a/perl-install/network/test.pm
+++ b/perl-install/network/test.pm
@@ -8,7 +8,7 @@ use Socket;
sub new {
my ($class, $o_hostname) = @_;
bless {
- hostname => $o_hostname || "mandrakesoft.com"
+ hostname => $o_hostname || "mandriva.com"
}, $class;
}
@@ -111,7 +111,7 @@ sub update_status {
=head2 Test synchronously
-#- resolve and get ping to hostname from command line if given, else to Mandrakesoft
+#- resolve and get ping to hostname from command line if given, else to Mandriva
use lib qw(/usr/lib/libDrakX);
use network::test;
@@ -131,7 +131,7 @@ ping to host: $ping
=head2 Test asynchronously
-#- resolve and get ping to hostname from command line if given, else to Mandrakesoft
+#- resolve and get ping to hostname from command line if given, else to Mandriva
#- prints a "." every 10 miliseconds during connection test
use lib qw(/usr/lib/libDrakX);
use network::test;
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index a35896766..14fe48e3f 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -102,7 +102,7 @@ sub stop_interface {
bg_command_as_root('/sbin/ifdown', $intf);
}
-sub connected() { gethostbyname("mandrakesoft.com") ? 1 : 0 }
+sub connected() { gethostbyname("mandriva.com") ? 1 : 0 }
# request a ref on a bg_connect and a ref on a scalar
sub connected_bg__raw {