diff --git a/lib/Core/Linux/NetUsage.pm b/lib/Core/Linux/NetUsage.pm index 30ea46ec842f194286b8681d240a226c94138e4f..fe94e05f646ceabca25f5683ed971c1678b50a04 100644 --- a/lib/Core/Linux/NetUsage.pm +++ b/lib/Core/Linux/NetUsage.pm @@ -70,7 +70,6 @@ sub handler { my $self = shift; my $config = $self->{config}; my $interface = $config->{interface}; - print "I have ${interface}\n"; my $stats = get_network_statistics_for($interface); return $stats; @@ -91,6 +90,7 @@ sub get_network_statistics_for { <$fh>; }; chomp $stats->{$stat}; + $stats->{$stat} = [$stats->{$stat}, 'L']; } return $stats;