tcpdump mailing list archives

Re: savefile.c patch


From: Guy Harris <guy () alum mit edu>
Date: Thu, 27 May 2004 14:32:14 -0700


On May 27, 2004, at 5:22 AM, Gisle Vanem wrote:

Since pcap_dump_close() doesn't have a pcap_t argument, where should
the oldmode come from? Can we have two module globals; oldmode_stdin,
oldmode_stdout, assuming stdin/stdout won't be opened for capture more
than once?

If it's opened for capture or dumping more than once in sequence, that's not an issue; if it's opened for capture or dumping more than once in parallel, that's not going to work anyway. As such, the two globals would probably be the best idea.

-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: