diff options
-rw-r--r-- | perl-install/network/test.pm | 6 | ||||
-rw-r--r-- | perl-install/network/tools.pm | 2 |
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 { |