Hello Tobias,

On Mon, Mar 21, 2005 at 11:59:28AM +0100, Tobias Bengtsson wrote:

> I don't use any sql right now, 

Wops. I was assuming so :) The memory case, yes, some tweakings are
needed:

1) imt_plugin.h -> struct acc definition -> bytes_counter should be
   modified to 'u_int64_t'.

2) network.h -> struct pkt_data definition -> pkt_len should be
   modified to 'u_int64_t'.

3) pmacct.c, lines 750 and subsequent: modify '%d' in what suits for 
   your needs (it should be '%lu' or '%llu'). About this point: '%d'
   is certainly wrong and i'll fix it into '%u' in mainstream code.
 
Let me know if things work out this way.

Cheers,
Paolo


Reply via email to