summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-06-25 03:27:54 +0000
committerOlivier Blin <oblin@mandriva.org>2005-06-25 03:27:54 +0000
commit8d2b82e6d1363d9875281ed17c5ed2a996bdc91b (patch)
tree643c898d4ecb9f296777cc0404b64c44c5842bbe /perl-install/network/tools.pm
parent333b7b0b80fa44345b2678c6f97d8bde83a21ddb (diff)
downloaddrakx-8d2b82e6d1363d9875281ed17c5ed2a996bdc91b.tar
drakx-8d2b82e6d1363d9875281ed17c5ed2a996bdc91b.tar.gz
drakx-8d2b82e6d1363d9875281ed17c5ed2a996bdc91b.tar.bz2
drakx-8d2b82e6d1363d9875281ed17c5ed2a996bdc91b.tar.xz
drakx-8d2b82e6d1363d9875281ed17c5ed2a996bdc91b.zip
use empty prototype
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index ae8eb8c96..cf93a5319 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -235,7 +235,7 @@ sub host_hex_to_dotted {
inet_ntoa(pack('N', unpack('L', pack('H8', $address))));
}
-sub get_routes {
+sub get_routes() {
my %routes;
foreach (cat_("/proc/net/route")) {
if (/^(\w+)\s+([0-9A-F]+)\s+([0-9A-F]+)\s+(?:[0-9A-F]+)\s+\d+\s+\d+\s+(\d+)\s+([0-9A-F]+)/) {