aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtse.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-02-05 15:52:42 +0100
committerMichael Mann <mmann78@netscape.net>2016-02-05 23:30:54 +0000
commitc296001158b979497242dd726430b0b7cb26f984 (patch)
treed6a2b055a818282928e4ce67ac071a4521837c96 /epan/dissectors/packet-rtse.c
parentbd6531b91b23bec6e4327cd2c3a47621fdf0c14a (diff)
RTSE and PRES relies on the TCP conversation to do reassembly, switch to
the new interface. Change-Id: I4f818d55416d3b1d09b46015d83f3acc5a9e71cc Reviewed-on: https://code.wireshark.org/review/13744 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-rtse.c')
-rw-r--r--epan/dissectors/packet-rtse.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/epan/dissectors/packet-rtse.c b/epan/dissectors/packet-rtse.c
index 18625113cc..e6b7e5bad4 100644
--- a/epan/dissectors/packet-rtse.c
+++ b/epan/dissectors/packet-rtse.c
@@ -778,9 +778,13 @@ dissect_rtse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d
((session->spdu_type == SES_DATA_TRANSFER) ||
(session->spdu_type == SES_MAJOR_SYNC_POINT))) {
/* Use conversation index as fragment id */
- conversation = find_conversation (pinfo->num,
- &pinfo->src, &pinfo->dst, pinfo->ptype,
- pinfo->srcport, pinfo->destport, 0);
+ if (pinfo->ptype == PT_TCP) {
+ conversation = find_conversation_ext_from_pinfo(pinfo);
+ } else {
+ conversation = find_conversation(pinfo->num,
+ &pinfo->src, &pinfo->dst, pinfo->ptype,
+ pinfo->srcport, pinfo->destport, 0);
+ }
if (conversation != NULL) {
rtse_id = conversation->index;
}
@@ -1009,7 +1013,7 @@ void proto_register_rtse(void) {
NULL, HFILL }},
/*--- End of included file: packet-rtse-hfarr.c ---*/
-#line 365 "../../asn1/rtse/packet-rtse-template.c"
+#line 369 "../../asn1/rtse/packet-rtse-template.c"
};
/* List of subtrees */
@@ -1031,7 +1035,7 @@ void proto_register_rtse(void) {
&ett_rtse_CallingSSuserReference,
/*--- End of included file: packet-rtse-ettarr.c ---*/
-#line 374 "../../asn1/rtse/packet-rtse-template.c"
+#line 378 "../../asn1/rtse/packet-rtse-template.c"
};
static ei_register_info ei[] = {