From 901b8f51b22aec08bc91921276d721387809207f Mon Sep 17 00:00:00 2001 From: Mageia SVN-Git Migration Date: Thu, 3 Feb 2011 18:07:04 +0000 Subject: Synthesized commit during git-svn import combining previous Mandriva history with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r398 | dmorgan | 2011-02-03 18:07:04 +0000 (Thu, 03 Feb 2011) | 1 line Import cleaned drakx-net ------------------------------------------------------------------------ In addition to the above commits, the following cleaning work has been recorded: po - replace Mandriva by Mangeia in po files pixmaps - replace all images (use Oxygen) icons - replace all images (use Oxygen) lib - remove Mandriva occurrences - movre dbus prefix to org.mageia config - remove Mandriva occurrences - movre dbus prefix to org.mageia --- lib/network/tools.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/network/tools.pm') diff --git a/lib/network/tools.pm b/lib/network/tools.pm index 0a1d840..60eeb8b 100644 --- a/lib/network/tools.pm +++ b/lib/network/tools.pm @@ -1,4 +1,4 @@ -package network::tools; # $Id$ +package network::tools; # $Id: tools.pm 253976 2009-03-13 10:57:55Z eugeni $ use strict; use common; @@ -47,7 +47,7 @@ sub stop_net_interface { stop_interface($net->{net_interface}, $detach); } -sub connected() { gethostbyname("www.mandriva.com") ? 1 : 0 } +sub connected() { gethostbyname("www.mageia.org") ? 1 : 0 } # request a ref on a bg_connect and a ref on a scalar sub connected_bg__raw { @@ -111,7 +111,7 @@ sub check_link_beat() { } else { $p = Net::Ping->new("icmp"); } - print $p->ping("www.mandriva.com") ? 1 : 0; + print $p->ping("www.mageia.org") ? 1 : 0; }); } -- cgit v1.2.1