Wireshark-commits: [Wireshark-commits] master ffcacae: Have different MTP2 dissectors for different

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 8 Dec 2014 23:26:48 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ffcacae8b39456e84de2c88cdbd81ed940425d1c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ffcacae by Guy Harris (guy@xxxxxxxxxxxx):

    Have different MTP2 dissectors for different metadata and CRC.
    
    Have separate MTP2 dissectors for:
    
    	MTP2 frames with no pseudo-header and no CRC;
    
    	MTP2 frames with a pseudo-header and no CRC;
    
    	MTP2 frames with no pseudo-header and a CRC;
    
    and call the appropriate dissector in the appropriate places.
    
    While we're at it, get rid of a global variable - pass the "use extended
    sequence numbers" flag down through the dissection code path, rather
    than having it as a global.
    
    Change-Id: Id8da1fbe3529e3ffadd5c30646cbc922f506a01f
    Reviewed-on: https://code.wireshark.org/review/5679
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  8a446e9   Add missing build-dependencies for the Debian package
    adds  ffcacae   Have different MTP2 dissectors for different metadata and CRC.


Summary of changes:
 epan/dissectors/packet-erf.c  |    2 +-
 epan/dissectors/packet-mtp2.c |   71 +++++++++++++++++++++++++----------------
 2 files changed, 45 insertions(+), 28 deletions(-)