From a9bf867eaa9f3af5511657ba58a89230f55ae551 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 29 Jul 2005 05:19:49 +0000 Subject: use mandriva.com instead of mandrakesoft.com to test network connection --- perl-install/network/test.pm | 2 +- perl-install/network/tools.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-install/network/test.pm b/perl-install/network/test.pm index cc043b19c..3d8f08e89 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; } diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index d99e0f39e..042f20e55 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -92,7 +92,7 @@ sub stop_interface { user_run_interface_command('/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 { @@ -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; }); } -- cgit v1.2.1