summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ranap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ranap.c b/epan/dissectors/packet-ranap.c
index dd0d173deb..543d6c567d 100644
--- a/epan/dissectors/packet-ranap.c
+++ b/epan/dissectors/packet-ranap.c
@@ -13181,7 +13181,7 @@ dissect_ranap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
-#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 _U_)
{
@@ -13220,7 +13220,7 @@ dissect_sccp_ranap_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
*
*/
word = tvb_get_ntohs(tvb,5);
- if(word > 0x2ff){
+ if(word > 0x1ff){
return FALSE;
}
dissect_ranap(tvb, pinfo, tree);