Skip to content
Snippets Groups Projects
Commit b93cfdbb authored by Chris Nehren's avatar Chris Nehren
Browse files

remove debugging and fix stats reporting

parent f4e1f328
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,6 @@ sub handler { ...@@ -70,7 +70,6 @@ sub handler {
my $self = shift; my $self = shift;
my $config = $self->{config}; my $config = $self->{config};
my $interface = $config->{interface}; my $interface = $config->{interface};
print "I have ${interface}\n";
my $stats = get_network_statistics_for($interface); my $stats = get_network_statistics_for($interface);
return $stats; return $stats;
...@@ -91,6 +90,7 @@ sub get_network_statistics_for { ...@@ -91,6 +90,7 @@ sub get_network_statistics_for {
<$fh>; <$fh>;
}; };
chomp $stats->{$stat}; chomp $stats->{$stat};
$stats->{$stat} = [$stats->{$stat}, 'L'];
} }
return $stats; return $stats;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment