diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2015-04-19 08:58:43 +0100 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-04-19 08:40:09 +0000 |
commit | 2392e8a30d0cf359701c99ab8695e97d8fa7ee74 (patch) | |
tree | 7502700efd2d599ae487c83bfc1dc7b19d97599d /epan/dissectors | |
parent | b394aa5f1e4ad030ab23d18b439e8f5c9eca9792 (diff) |
Ixiatrailer: Requires at least 15 bytes so change test in heuristic.
Change-Id: I00415fc77d2493eccdb3f0511f0a49d670e26d9d
Reviewed-on: https://code.wireshark.org/review/8118
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-ixiatrailer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ixiatrailer.c b/epan/dissectors/packet-ixiatrailer.c index 3e98835ecf..d1fb700e90 100644 --- a/epan/dissectors/packet-ixiatrailer.c +++ b/epan/dissectors/packet-ixiatrailer.c @@ -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; } |