Re: [pmacct-discussion] invalid network mask?

2009-11-20 Thread Charlie Allom
On Thu, Nov 19, 2009 at 03:53:56PM +, Paolo Lucente wrote: Hi Charlie, It appears you didn't put the table in the correct format first. Is it the case? If yes, to make that table pmacct-friendly you have to pre-process it as follows: cat bgptable | sed 's/\([0-9a-f:][0-9a-f\.\/:]*\).*

[pmacct-discussion] invalid network mask?

2009-11-19 Thread Charlie Allom
Hi Paolo, would it be useful to include the line number that causes the error here? I've put the file here: http://capslock.playlouder.com/bgptable.gz 11:50 pmacct:~# md5sum bgptable 578e6138f9e5b3d84c09415ce9d1d019 bgptable NetFlow Accounting Daemon, nfacctd 0.12.0rc3 11:48 pmacct:~#

Re: [pmacct-discussion] invalid network mask?

2009-11-19 Thread Paolo Lucente
Hi Charlie, It appears you didn't put the table in the correct format first. Is it the case? If yes, to make that table pmacct-friendly you have to pre-process it as follows: cat bgptable | sed 's/\([0-9a-f:][0-9a-f\.\/:]*\).* \([0-9][0-9]*\)[ 0-9,{}]*$/\2,\1/' | uniq networks.lst At least it