Re: [mpls-linux-general] is this a bug?
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2002-11-13 06:48:11
|
On Sat, Nov 02, 2002 at 10:31:48AM +0800, Folke Aeon wrote: > hi, James :) > > i happened found the following data seems odd : > 0x00000003 2450571/-678892776/0 3 PUSH(gen 3) SET(eth0,11.0.1.1) > ~~~~~~~~~~~~ > i sent about 3GB data out of this label and > its counter becomes negative. can you tell me > how to change the definition of this counter > into long long int ? or how to clear the counter > back to zero when it reaches the MAX_INT? Why on earth would you want to send 3G of data on an LSP ;-) > thanks :) > folke. I've increased the counters to 'unsigned long' and I now treat them as unsigned longs when displaying them in /proc. Thanks! -- James R. Leu |