Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5240] Patch to editcap to allow chop from beginning of pac

Date: Wed, 22 Sep 2010 11:24:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5240

--- Comment #9 from Jason Masker <jason@xxxxxxxxxx> 2010-09-22 11:24:04 PDT ---
(In reply to comment #7)
> Would it be an idea to use -C for both and change it's behavior to do the
> following:
> 
> - a positive value will chop off that amount of bytes from the beginning of the
> packet
> - a negative value will chop off the (absolute) amount of bytes from the end of
> the packet
> 
> That would change the behavior of the current implementation of -C, but it will
> adhere more to general use of negative and positive values when it comes to
> chopping. And I doubt if the feature is used much in its current form.

I do agree that if -C is used to facilitate it would be more logical to use
negative values for the existing behavior and positive values for the header
chop.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.