https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2683
Sake <sake@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #2180|review_for_checkin? |review_for_checkin-
Flag| |
--- Comment #6 from Sake <sake@xxxxxxxxxx> 2008-08-25 06:40:08 PDT ---
(From update of attachment 2180)
No worries about the delay :-)
This patch works fine for the -i and the -c options, however, it breaks the
functionality of using editcap when trying to use ranges. Could you please
review your patch and fix the segmentation fault? Thanks!
sake@brutus:/tmp$ /wireshark/trunk/editcap -i 600 tmp.cap blah.cap
sake@brutus:/tmp$ ls -l bla*
-rw-r--r-- 1 sake sake 210052 2008-08-25 15:36 blah_00000_20070315103639.cap
-rw-r--r-- 1 sake sake 204502 2008-08-25 15:36 blah_00001_20070315104644.cap
-rw-r--r-- 1 sake sake 118577 2008-08-25 15:36 blah_00002_20070315105642.cap
sake@brutus:/tmp$ rm blah*
sake@brutus:/tmp$ /wireshark/trunk/editcap -c 1000 tmp.cap blah.cap
sake@brutus:/tmp$ ls -l blah*
-rw-r--r-- 1 sake sake 376150 2008-08-25 15:36 blah_00000_20070315103639.cap
-rw-r--r-- 1 sake sake 156957 2008-08-25 15:36 blah_00001_20070315105508.cap
sake@brutus:/tmp$ rm blah*
sake@brutus:/tmp$ /wireshark/trunk/editcap -r tmp.cap blah.cap 1-1000
Add_Selected: 1-1000
Inclusive ... 1, 1000
Segmentation fault
sake@brutus:/tmp$ ls -l blah*
ls: cannot access blah*: No such file or directory
sake@brutus:/tmp$
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.