Wireshark-commits: [Wireshark-commits] master-2.2 b240632: The caplen for a packet is always "numbe
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Aug 2016 23:06:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b240632ac9fab9b7c135fc5b616703aeaa947c2b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

b240632 by Guy Harris (guy@xxxxxxxxxxxx):

    The caplen for a packet is always "number of bytes seen".
    
    Set wirelen to the length from the header, but don't set caplen; start
    caplen out as 0 and count it up whenever we add a byte.
    
    Bug: 12754
    Change-Id: Ib4e45e947df6077f97a423157c152dac9f57734a
    Reviewed-on: https://code.wireshark.org/review/17120
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 72a3195c8649c315c301942da68e4ee31af17445)
    Reviewed-on: https://code.wireshark.org/review/17121
    

Actions performed:

    from  9c8578e   pre-commit: Fix version check to work with git-worktree
    adds  b240632   The caplen for a packet is always "number of bytes seen".


Summary of changes:
 wiretap/ascend-int.h |    1 -
 wiretap/ascend.y     |   23 +++++++----------------
 2 files changed, 7 insertions(+), 17 deletions(-)