From 6cb961f2b1302d6061e108351988e257767c318a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 20 Feb 2013 23:14:38 +0000 Subject: silent a couple warnings --- lib/network/network.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/network/network.pm b/lib/network/network.pm index ff3c1df..0b3439e 100644 --- a/lib/network/network.pm +++ b/lib/network/network.pm @@ -415,10 +415,10 @@ sub netprofile_modules() { foreach my $module (@m) { my @params = split('\t', $module); my $vals = { - module => @params[0], + module => $params[0], enabled => $params[1] eq '+' ? 1 : 0, - name => @params[2], - description => @params[3], + name => $params[2], + description => $params[3], }; push(@modules, $vals); } -- cgit v1.2.1