Commit da0afe2d authored by Peter Pentchev's avatar Peter Pentchev

Move the remaining global variables up.

parent f1a5f147
......@@ -26,6 +26,11 @@ BEGIN {
};
}
my $period = 10;
my ($COLOR, $addtime, $count, $iface);
my %prevstat;
my %total = (kb => {}, packets => {});
sub convert();
sub usage($)
......@@ -58,11 +63,6 @@ sub version()
say "ethstats $main::VERSION";
}
my $period = 10;
my ($COLOR, $addtime, $count, $iface);
my %prevstat;
my %total = (kb => {}, packets => {});
sub acolor($)
{
my ($color) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment