summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-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]+)/) {