X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FMrtg.pm;h=c6752e903710b7a61525827c8f8bc1346aebfde9;hb=33f141e624a2443f6fa7d3608417047108251e28;hp=e9ded9e623140ef575d1da22efd859ab2689891d;hpb=3f58f5ebe86a749d9e1ab37f25b3e7c7255a1906;p=spider.git diff --git a/perl/Mrtg.pm b/perl/Mrtg.pm index e9ded9e6..c6752e90 100644 --- a/perl/Mrtg.pm +++ b/perl/Mrtg.pm @@ -3,7 +3,7 @@ # # Copyright (c) - 2002 Dirk Koopman G1TLH # -# $Id$ +# # package Mrtg; @@ -14,12 +14,6 @@ use DXDebug; use DXUtil; use strict; -use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; - sub new { my $pkg = shift; @@ -72,7 +66,7 @@ sub data sub cfgprint { my ($self, $name, $options, $max, $title, $legend, $iname, $oname) = @_; - my $opt = join ', ', @$options, qw(withzeroes gauge growright nopercent integer); + my $opt = join ', ', @$options, qw(withzeroes growright nopercent integer); $self->{mc}->print(<<"EOF");