From owner-freebsd-questions Tue Jul 29 10:01:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA29123 for questions-outgoing; Tue, 29 Jul 1997 10:01:38 -0700 (PDT) Received: from eyelab.psy.msu.edu (eyelab.psy.msu.edu [35.8.64.179]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA29114 for ; Tue, 29 Jul 1997 10:01:25 -0700 (PDT) Received: from eyelab3.psy.msu.edu (eyelab3.psy.msu.edu [35.8.64.180]) by eyelab.psy.msu.edu (8.8.6/8.8.5) with SMTP id MAA00129; Tue, 29 Jul 1997 12:55:43 -0400 (EDT) Message-Id: <3.0.3.32.19970729125841.006fee7c@eyelab.msu.edu> X-Sender: root@eyelab.msu.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Tue, 29 Jul 1997 12:58:41 -0400 To: Dan Nelson From: Gary Schrock Subject: Re: mrtg missing incoming traffic? Cc: freebsd-questions@freebsd.org In-Reply-To: <19970728205520.41159@dan.emsphone.com> References: <3.0.3.32.19970728163430.008e6630@eyelab.msu.edu> <3.0.3.32.19970728163430.008e6630@eyelab.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. Gary Schrock root@eyelab.msu.edu