Wireshark-bugs: [Wireshark-bugs] [Bug 2574] New: Allow editcap to parse files into even time int
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2574
Summary: Allow editcap to parse files into even time intervals
Product: Wireshark
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Low
Component: Extras
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: smithkd@xxxxxxxxx
Ken Smith <smithkd@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #1831| |review_for_checkin?
Flag| |
Created an attachment (id=1831)
--> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1831)
editcap.c diff file
Build Information:
TShark 1.0.99-kds-editcap-mod (SVN Rev 25375)
Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled with GLib 2.16.3, with WinPcap (version unknown), with libz 1.2.3,
without POSIX capabilities, with libpcre 7.0, without SMI, with ADNS, with Lua
5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT Kerberos.
Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5.
Built using Microsoft Visual C++ 8.0 build 50727
--
This patch to editcap.c adds an option, "-i <seconds>", to editcap to allow
larger files to be broken up into evenly spaced time intervals. It also makes
sure only one type of file division (packet count or time interval, but not
both) is occurring. The code has been "fuzz tested" to the extent of detecting
correct options, reporting bad input, and dividing captures correctly to the
seconds and microseconds in reference to the start of capture (first packet).
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.