From owner-freebsd-questions Thu Jul 31 01:15:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA16027 for questions-outgoing; Thu, 31 Jul 1997 01:15:32 -0700 (PDT) Received: from forwiss.tu-muenchen.de (root@forwiss.tu-muenchen.de [131.159.128.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA16017 for ; Thu, 31 Jul 1997 01:15:20 -0700 (PDT) Received: from pccog4.forwiss.tu-muenchen.de (hafner@pccog4.forwiss.tu-muenchen.de [131.159.128.55]) by forwiss.tu-muenchen.de (8.8.5/V5) with ESMTP id KAA24329 for ; Thu, 31 Jul 1997 10:15:12 +0200 (MET DST) Received: (hafner@localhost) by pccog4.forwiss.tu-muenchen.de (8.8.5/8.6.12) id IAA11626; Thu, 31 Jul 1997 08:16:57 GMT Newsgroups: muc.lists.freebsd.questions To: freebsd-questions@freebsd.org Subject: Re: mrtg missing incoming traffic? References: <19970728205520.41159@dan.emsphone.com> <3.0.3.32.19970729125841.006fee7c@eyelab.msu.edu> From: Walter Hafner Date: 31 Jul 1997 10:16:55 +0200 Message-ID: Lines: 25 X-Newsreader: Gnus v5.2.25/XEmacs 19.14 In-Reply-To: root@eyelab.psy.msu.edu's message of 29 Jul 1997 19:31:27 +0200 Posted-To: muc.lists.freebsd.questions Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 *CLICK* The best observation I can make is that the BSD Daemon logo is _much_ cooler than that Penguin :-) (Donald Whiteside)