Wireshark-commits: [Wireshark-commits] master ba8617f: Add -I option in editcap to extend Duplicate

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 20 Sep 2014 18:11:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ba8617f0400efe47931495fc3f2502f24161dd4b
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ba8617f by kardam (netkardam@xxxxxxxxx):

    Add -I option in editcap to extend Duplicate packet removal
    Description:
    Ignore the specified bytes number at the beginning of the frame during MD5 hash calculation.
    Useful to remove duplicated packets taken on several routers or SW(differents mac addresses for example).
    e.g. -I 26 in case of Ether/IP/ will ignore ether(14) and IP header(20 - 4(src ip) - 4(dst ip)).
    The default value is 0.
    This option is only relevant when used with -d|-D|-w
    
    Bug: 8511
    Change-Id: I009a09d32778a182b2d88f372651f658a4938882
    Reviewed-on: https://code.wireshark.org/review/4104
    Tested-by: Evan Huus <eapache@xxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  2154e23   ssl: allocate regexes with glib
    adds  ba8617f   Add -I option in editcap to extend Duplicate packet removal Description: Ignore the specified bytes number at the beginning of the frame during MD5 hash calculation. Useful to remove duplicated packets taken on several routers or SW(differents mac addresses for example). e.g. -I 26 in case of Ether/IP/ will ignore ether(14) and IP header(20 - 4(src ip) - 4(dst ip)). The default value is 0. This option is only relevant when used with -d|-D|-w


Summary of changes:
 doc/editcap.pod |    8 ++++++++
 editcap.c       |   38 +++++++++++++++++++++++++++++++++++---
 2 files changed, 43 insertions(+), 3 deletions(-)