From 7d604d6c1d81a494a811afb3f93f8dc02eb59e2d Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Tue, 25 Sep 2007 20:54:43 +0100 Subject: [PATCH] add perminute modifier --- cmd/mrtg.pl | 4 ++-- perl/Version.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/mrtg.pl b/cmd/mrtg.pl index 0d027b9a..5473a81f 100644 --- a/cmd/mrtg.pl +++ b/cmd/mrtg.pl @@ -109,7 +109,7 @@ if ($want{totalusers} || $want{all}) { # do the total spots if ($want{totalspots} || $want{all}) { - $mc->cfgprint('totalspots', [qw(unknaszero absolute noi)], 1000, 'Total Spots', + $mc->cfgprint('totalspots', [qw(unknaszero absolute noi perminute)], 1000, 'Total Spots', 'Spots / min', 'Spots', 'Spots') unless $want{dataonly}; $mc->data('totalspots', $Spot::totalspots, $Spot::totalspots, 'Total Spots') unless $want{cfgonly}; $Spot::totalspots = 0; @@ -117,7 +117,7 @@ if ($want{totalspots} || $want{all}) { # do the HF and VHF spots if ($want{hfvhf} || $want{all}) { - $mc->cfgprint('hfspots', [qw(unknaszero absolute)], 1000, 'HF and VHF+ Spots', + $mc->cfgprint('hfspots', [qw(unknaszero absolute perminute)], 1000, 'HF and VHF+ Spots', 'Spots / min', 'HF', 'VHF') unless $want{dataonly}; $mc->data('hfspots', $Spot::hfspots, $Spot::vhfspots, 'HF and VHF+ Spots') unless $want{cfgonly}; $Spot::hfspots = $Spot::vhfspots = 0; diff --git a/perl/Version.pm b/perl/Version.pm index 60deaa75..af82f887 100644 --- a/perl/Version.pm +++ b/perl/Version.pm @@ -11,6 +11,6 @@ use vars qw($version $subversion $build); $version = '1.54'; $subversion = '0'; -$build = '155'; +$build = '156'; 1; -- 2.34.1