aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ranap.c
diff options
context:
space:
mode:
authorVasil Velichkov <vvvelichkov@gmail.com>2018-07-30 21:20:17 +0300
committerPascal Quantin <pascal.quantin@gmail.com>2018-08-03 19:47:45 +0000
commit50e60468811c323f85f7e731222e2de6d5464b30 (patch)
tree343a2f8423dfddf0cd51ced7a06b7a91e926eb61 /epan/dissectors/packet-ranap.c
parenta13558c6c3cee018e7bce6b5eed115421673723d (diff)
RANAP: decrease the min length to 7 bytes
The min length was increased to 8 in d9c70acaf4 but there are valid 7 bytes long RANAP messages that are not recognized by the heuristic function. Revert the value to 7 as in 482a3cd1f1c Change-Id: I5096cd905c24c87dccbc2aa4bbdccc7b0febead7 Reviewed-on: https://code.wireshark.org/review/28945 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ranap.c')
-rw-r--r--epan/dissectors/packet-ranap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ranap.c b/epan/dissectors/packet-ranap.c
index 3c256a6f86..2bcb4090ce 100644
--- a/epan/dissectors/packet-ranap.c
+++ b/epan/dissectors/packet-ranap.c
@@ -15074,7 +15074,7 @@ dissect_ranap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
return tvb_reported_length(tvb);
}
-#define RANAP_MSG_MIN_LENGTH 8
+#define RANAP_MSG_MIN_LENGTH 7
static gboolean
dissect_sccp_ranap_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
{