https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4482
Jim Young <jyoung@xxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jyoung@xxxxxxx
Resolution| |INVALID
--- Comment #1 from Jim Young <jyoung@xxxxxxx> 2010-02-12 05:09:22 PST ---
Not a bug. You need to specify the -b option twice; once to specify the
"filesize" and a second time to specify the "files".
See example below:
C:\Program Files\Wireshark>dumpcap -i 2 -w mytest.pcap -b filesize:2 -b files:3
File: mytest_00001_20100212080449.pcap
Packets: 13 File: mytest_00002_20100212080450.pcap
Packets: 26 File: mytest_00003_20100212080452.pcap
Packets: 39 File: mytest_00004_20100212080453.pcap
Packets: 52 File: mytest_00005_20100212080455.pcap
Packets: 66 File: mytest_00006_20100212080456.pcap
Packets: 80 File: mytest_00007_20100212080458.pcap
Packets: 93 File: mytest_00008_20100212080459.pcap
Packets: 108 File: mytest_00009_20100212080500.pcap
Packets: 124 File: mytest_00010_20100212080502.pcap
(Entered Ctrl-C)
Packets: 136 Packets dropped: 0
C:\Program Files\Wireshark>dir *pcap /od
Volume in drive C has no label.
Volume Serial Number is CCC3-160D
Directory of C:\Program Files\Wireshark
2010-02-12 08:05 2,200 mytest_00008_20100212080459.pcap
2010-02-12 08:05 2,270 mytest_00009_20100212080500.pcap
2010-02-12 08:05 1,750 mytest_00010_20100212080502.pcap
3 File(s) 6,220 bytes
0 Dir(s) 722,068,480 bytes free
C:\Program Files\Wireshark>
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.