usage of tcp_dissect_pdu is broken
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Fri, 18 Feb 2005 21:19:01 +0000 (21:19 -0000)
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>
Fri, 18 Feb 2005 21:19:01 +0000 (21:19 -0000)
comment it out to stop it from dumping core.
jxta people will have to fix this properly later.

svn path=/trunk/; revision=13426

epan/dissectors/packet-jxta.c

index 5db0adec902b16af44cee1cbac1f2a6a8fee2104..f03c24b2aeecc1dea5ce403ccc462e607e771b6b 100644 (file)
@@ -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);
 }
 
 /**