Snort mailing list archives

Re: [tcpdump-workers] Problem found for linux applications that use libpcap


From: Guy Harris <gharris () sonic net>
Date: Sat, 8 Dec 2001 19:52:01 -0800

On Sat, Dec 08, 2001 at 02:45:32PM -0700, Phil Wood wrote:
By the way, for some reason when tcpdump quits normally (like after -c
<pktcnt>)it will not dump the stats.  However, if you just let it run
and then break out you get the stats.

It's because "main()" doesn't call "info(1)" before exiting.  I don't
see any reason why it shouldn't (although the local variable named
"info" would have to be renamed before it could be called).

Does anybody else know of a reason why it shouldn't be called?

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: