From 65021cd4da95052b08d13ab05dab801cbc5d1735 Mon Sep 17 00:00:00 2001 From: sahlberg Date: Fri, 18 Feb 2005 21:19:01 +0000 Subject: usage of tcp_dissect_pdu is broken comment it out to stop it from dumping core. jxta people will have to fix this properly later. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13426 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-jxta.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'epan/dissectors/packet-jxta.c') diff --git a/epan/dissectors/packet-jxta.c b/epan/dissectors/packet-jxta.c index 5db0adec90..f03c24b2ae 100644 --- a/epan/dissectors/packet-jxta.c +++ b/epan/dissectors/packet-jxta.c @@ -263,7 +263,14 @@ static void dissect_jxta_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree * } static void dissect_jxta_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { + /* XXX this is broken. + you MUST provide a header dissector and not NULL + the header dissector MUST do heuristict to verify it really is a + proper jxta header. + you SHOULD also specify desegmentation as a variable and not always TRUE tcp_dissect_pdus(tvb, pinfo, tree, TRUE, 0, NULL, dissect_jxta_tcp_pdu); + */ + dissect_jxta_tcp_pdu(tvb, pinfo, tree); } /** -- cgit v1.2.3