summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-29 05:19:49 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-29 05:19:49 +0000
commita9bf867eaa9f3af5511657ba58a89230f55ae551 (patch)
tree780459002ea894d6e7a5321ead0feb015286ced9
parenta416537a4bbffeaf539ccffdbc773806fb9d53d1 (diff)
downloaddrakx-a9bf867eaa9f3af5511657ba58a89230f55ae551.tar
drakx-a9bf867eaa9f3af5511657ba58a89230f55ae551.tar.gz
drakx-a9bf867eaa9f3af5511657ba58a89230f55ae551.tar.bz2
drakx-a9bf867eaa9f3af5511657ba58a89230f55ae551.tar.xz
drakx-a9bf867eaa9f3af5511657ba58a89230f55ae551.zip
use mandriva.com instead of mandrakesoft.com to test network connection
-rw-r--r--perl-install/network/test.pm2
-rw-r--r--perl-install/network/tools.pm4
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;
});
}