Ixiatrailer: Requires at least 15 bytes so change test in heuristic.
authorMartin Mathieson <martin.r.mathieson@googlemail.com>
Sun, 19 Apr 2015 07:58:43 +0000 (08:58 +0100)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Sun, 19 Apr 2015 08:40:09 +0000 (08:40 +0000)
Change-Id: I00415fc77d2493eccdb3f0511f0a49d670e26d9d
Reviewed-on: https://code.wireshark.org/review/8118
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
epan/dissectors/packet-ixiatrailer.c

index 3e98835ecf1aae188afbee1d9c3c19f5bfa2f9ce..d1fb700e904e0dc08b5f559e1b6ec0e2fa174403 100644 (file)
@@ -83,9 +83,9 @@ dissect_ixiatrailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, voi
   vec_t vec;
   guint8 source;
 
-  /* Need at least 5 bytes.  TODO: should be 15? */
+  /* Need at least 15 bytes. */
   tvblen = tvb_length(tvb);
-  if (tvblen < 5) {
+  if (tvblen < 15) {
     return 0;
   }