diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-12-08 15:25:50 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-12-08 23:26:45 +0000 |
commit | ffcacae8b39456e84de2c88cdbd81ed940425d1c (patch) | |
tree | c6654bbae609fc9262879be1a058c7d425f81cc1 /epan/dissectors/packet-erf.c | |
parent | 8a446e9b7a19036ea47102e4b995319a4fb7f215 (diff) |
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@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-erf.c')
-rw-r--r-- | epan/dissectors/packet-erf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-erf.c b/epan/dissectors/packet-erf.c index 1438d33e36..033e184a61 100644 --- a/epan/dissectors/packet-erf.c +++ b/epan/dissectors/packet-erf.c @@ -1949,7 +1949,7 @@ proto_reg_handoff_erf(void) chdlc_handle = find_dissector("chdlc"); ppp_handle = find_dissector("ppp_hdlc"); frelay_handle = find_dissector("fr"); - mtp2_handle = find_dissector("mtp2"); + mtp2_handle = find_dissector("mtp2_with_crc"); /* Get handle for ATM dissector */ atm_untruncated_handle = find_dissector("atm_untruncated"); |