From 8d2b82e6d1363d9875281ed17c5ed2a996bdc91b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 25 Jun 2005 03:27:54 +0000 Subject: use empty prototype --- perl-install/network/tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]+)/) { -- cgit v1.2.1