diff options
author | Mageia SVN-Git Migration <svn-git-migration@mageia.org> | 2011-02-03 18:07:04 +0000 |
---|---|---|
committer | Mageia SVN-Git Migration <svn-git-migration@mageia.org> | 2011-02-03 18:07:04 +0000 |
commit | 901b8f51b22aec08bc91921276d721387809207f (patch) | |
tree | c24297ffaebcb5b15ad7337c955a5108bedd06e4 /lib/network/tools.pm | |
parent | 4ecae5f1c7a79bee47fc3580d90972a750be5412 (diff) | |
download | drakx-net-901b8f51b22aec08bc91921276d721387809207f.tar drakx-net-901b8f51b22aec08bc91921276d721387809207f.tar.gz drakx-net-901b8f51b22aec08bc91921276d721387809207f.tar.bz2 drakx-net-901b8f51b22aec08bc91921276d721387809207f.tar.xz drakx-net-901b8f51b22aec08bc91921276d721387809207f.zip |
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
Diffstat (limited to 'lib/network/tools.pm')
-rw-r--r-- | lib/network/tools.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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; }); } |