Skip site navigation (1)Skip section navigation (2)
Date:      31 Jul 1997 10:16:55 +0200
From:      Walter Hafner <hafner@forwiss.tu-muenchen.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: mrtg missing incoming traffic?
Message-ID:  <s9nn2n3y6tk.fsf@pccog4.forwiss.tu-muenchen.de>
In-Reply-To: root@eyelab.psy.msu.edu's message of 29 Jul 1997 19:31:27 %2B0200
References:  <19970728205520.41159@dan.emsphone.com> <3.0.3.32.19970729125841.006fee7c@eyelab.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
The following message is a courtesy copy of an article
that has been posted as well.

root@eyelab.psy.msu.edu (Gary Schrock) writes:

> At 08:55 PM 7/28/97 -0500, you wrote:
> >The other problem I had was with the authors use of
> >` $variable = sprintf("%.0f",eval($$rcfg{target}{$rou})); ' in a few 
> >places. On one of the perls I tried (5.002 on a Linux box), the sprintf
> >would return 0 if the number being printed was above LONG_MAX.  Try
> >changing the assignments to ` $variable = eval($$rcfg{target}{$rou}; '
> >and see what happens.
> 
> Thanks, that one seems to have solved my problems.  Maybe if I get
> ambitious I'll drop a patch by the port maintainer.

I just went through this problem with Tobias Oetiker, the developer of
mrtg (I had the same problem). It is fixed in the next
release. Currently I run a few beta tests on it and it seems quite
stable (FreeBSD 2.1.5, Perl 5.002).

-Walter

-- 
Walter Hafner_____________________________ hafner@forwiss.tu-muenchen.de
     <A href=http://www.forwiss.tu-muenchen.de/~hafner/>*CLICK*</A>;
 The best observation I can make is that the BSD Daemon logo is _much_
 cooler than that Penguin :-)                       (Donald Whiteside)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s9nn2n3y6tk.fsf>