More fiddling with heuristic.

Change-Id: I50b78cc38c6f529695ecd54ced0ed94e8a683534
Reviewed-on: https://code.wireshark.org/review/835
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2014-03-26 15:55:07 +01:00 committed by Anders Broman
parent 873a96fab1
commit 482a3cd1f1
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,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 static gboolean
dissect_sccp_ranap_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) dissect_sccp_ranap_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{ {
@ -291,7 +291,7 @@ dissect_sccp_ranap_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
* *
*/ */
word = tvb_get_ntohs(tvb,5); word = tvb_get_ntohs(tvb,5);
if(word > 0x2ff){ if(word > 0x1ff){
return FALSE; return FALSE;
} }
dissect_ranap(tvb, pinfo, tree); dissect_ranap(tvb, pinfo, tree);