summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-29 12:52:56 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-29 12:52:56 +0000
commitec5b572036ee02d05242a84d5c861df74326733d (patch)
tree48e43c1000e992e91b2211bf954f6440951e3615 /perl-install/network
parentfb323e3ec7ac1137c9049b4ecfebb679c7db91c5 (diff)
downloaddrakx-ec5b572036ee02d05242a84d5c861df74326733d.tar
drakx-ec5b572036ee02d05242a84d5c861df74326733d.tar.gz
drakx-ec5b572036ee02d05242a84d5c861df74326733d.tar.bz2
drakx-ec5b572036ee02d05242a84d5c861df74326733d.tar.xz
drakx-ec5b572036ee02d05242a84d5c861df74326733d.zip
use www.mandriva.com to test connection
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/test.pm4
-rw-r--r--perl-install/network/tools.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/test.pm b/perl-install/network/test.pm
index e442d61cb..2ba8538c6 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 || "www.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 Mandriva
+#- resolve and get ping to hostname from command line if given, else to www.mandriva.com
use lib qw(/usr/lib/libDrakX);
use network::test;
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 6d7c5b7af..6ba1d9886 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -156,7 +156,7 @@ sub check_link_beat() {
} else {
$p = Net::Ping->new("icmp");
}
- print $p->ping("www.mandrakesoft.com") ? 1 : 0;
+ print $p->ping("www.mandriva.com") ? 1 : 0;
});
}