aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ositp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-18 01:59:05 +0000
committerGuy Harris <guy@alum.mit.edu>2012-11-18 01:59:05 +0000
commit06ce5d1571d11615a99e5868307d4bf5401bdb7d (patch)
treee570ec1e13c27e3b9e64fc637d9618888a1936d6 /epan/dissectors/packet-ositp.c
parente5c2f19eaba2ad1debea2f8d12408d1826dd16f8 (diff)
More TODOs:
We hand the user data in a CR or CC packet to the subdissectors, but don't tell the subdissectors that - do we need to? We don't hand the data in an ED packet to the subdissectors - should we, and do we need to tell them that it's an ED packet? svn path=/trunk/; revision=46067
Diffstat (limited to 'epan/dissectors/packet-ositp.c')
-rw-r--r--epan/dissectors/packet-ositp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c
index 9ed380c8a0..c7ce19c3bc 100644
--- a/epan/dissectors/packet-ositp.c
+++ b/epan/dissectors/packet-ositp.c
@@ -1414,6 +1414,10 @@ static int ositp_decode_ED(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
ositp_decode_var_part(tvb, offset, li, 4, pinfo, cotp_tree);
offset += li;
+ /*
+ * XXX - hand this to subdissectors but tell them that this is
+ * in an ED packet?
+ */
next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector(data_handle,next_tvb, pinfo, tree);
@@ -1609,6 +1613,10 @@ static int ositp_decode_CC(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
}
offset += li;
+ /*
+ * XXX - tell the subdissector that this is user data in a CC or
+ * CR packet rather than a DT packet?
+ */
next_tvb = tvb_new_subset_remaining(tvb, offset);
if (!uses_inactive_subset){
if (dissector_try_heuristic(cotp_heur_subdissector_list, next_tvb,