Hi Karl, I had considered doing this prior to posting to the list, but Paulo's recommedation did the trick.
Pat On 07/19/2014 06:04 PM, Karl O. Pinc wrote: > On 07/18/2014 03:24:25 PM, THE MIGHTY VEXORG wrote: >> Hello, >> I have netflow coming from a few devices where the source AS and >> destination AS both show up as 0 and is confirmed with tcpdump >> captures, >> so nfacctd dutifully stores these in the database with zeroes. I >> would >> like to have all traffic coming from these devices to be marked as >> coming from/going to a particular AS. How can I do that? > You could always cheat and put a trigger on it in the > database to change the value from 0 to whatever AS you want. > (At least this works with PostgreSQL BEFORE triggers; I > can't say what other databases have this feature.) > > > > > Karl <k...@meme.com> > Free Software: "You don't pay back, you pay forward." > -- Robert A. Heinlein > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists > _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists