diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-02-01 02:42:01 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2013-02-01 02:42:01 +0000 |
commit | 21b1b0c5daf9b4217698dc523d122fefdec968f8 (patch) | |
tree | cbc638089f16de3afd311c9642f1a49436597afe /epan/dissectors/packet-mtp3.c | |
parent | 5754564be8ea7c1da7f269d98068028c524aaa26 (diff) |
Add heuristic MTP3 standard detection to M3UA (not for the draft M3UA versions).
The SCCP heuristics actually don't work all that well here but checking the PCs
(in M3UA) seems to do a decent job at least of differentiating ANSI from ITU.
svn path=/trunk/; revision=47407
Diffstat (limited to 'epan/dissectors/packet-mtp3.c')
-rw-r--r-- | epan/dissectors/packet-mtp3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mtp3.c b/epan/dissectors/packet-mtp3.c index c902f2a649..bcfe0e7d27 100644 --- a/epan/dissectors/packet-mtp3.c +++ b/epan/dissectors/packet-mtp3.c @@ -651,7 +651,6 @@ dissect_mtp3_payload(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) call_dissector(data_handle, payload_tvb, pinfo, tree); } -#define HEURISTIC_FAILED_STANDARD 0xffff static guint heur_mtp3_standard(tvbuff_t *tvb, packet_info *pinfo, guint8 si) { @@ -721,7 +720,7 @@ dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) mtp3_standard = heuristic_standard; /* Register a frame-end routine to ensure mtp3_standard is set - * back, even if an exception is thrown. + * back even if an exception is thrown. */ register_frame_end_routine(pinfo, reset_mtp3_standard); } |