summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/network.pm6
1 files 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);
}