Re: [Wireshark-users] Using multiple files with tshark

2007-03-12 Thread Stephen Fisher
On Thu, Mar 01, 2007 at 12:38:01PM -, McGlinchy, Alistair wrote: > While you are there, could you cast your eyes over this extension to > your fix to allow for the "files:value" criteria too. This works but > requires multiple uses of the -b flag (rather than the -b and -a > flags). > >

Re: [Wireshark-users] Using multiple files with tshark

2007-03-01 Thread McGlinchy, Alistair
Stephen Fisher wrote: > This fixes it: > > if (!capture_opts.has_autostop_filesize && > !capture_opts.has_file_duration) { > Excellent. Works a treat. Thanks very much. While you are there, could you cast your eyes over this extension to your fix to allow for the "files:val

Re: [Wireshark-users] Using multiple files with tshark

2007-02-28 Thread Stephen Fisher
On Wed, Feb 28, 2007 at 05:11:48PM -, McGlinchy, Alistair wrote: > D:\>tshark -b duration:60 -w test.cap -f http > tshark: Multiple capture files requested, but no maximum capture > file size was specified. > At line 1288 of tshark.c there seems that the command validation only >

[Wireshark-users] Using multiple files with tshark

2007-02-28 Thread McGlinchy, Alistair
Hello, I have been trying to get the tshark to save files ever 60 seconds but I get a unexpected error both in Linux and Windows. D:\>tshark -b duration:60 -w test.cap -f http tshark: Multiple capture files requested, but no maximum capture file size was specified. D:\>ts