It's the tvb lenght that's 0...

svn path=/trunk/; revision=26939
This commit is contained in:
Anders Broman 2008-12-08 22:21:03 +00:00
parent 360d9f94c7
commit fa3a12e5b0
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
%(DEFAULT_BODY)s
if ((parameter_tvb)&&(nas_eps_handle))
if ((tvb_length(parameter_tvb)>0)&&(nas_eps_handle))
call_dissector(nas_eps_handle,parameter_tvb,%(ACTX)s->pinfo, proto_tree_get_root(tree));
#.TYPE_ATTR

View File

@ -2098,7 +2098,7 @@ dissect_s1ap_NAS_PDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pr
NO_BOUND, NO_BOUND, FALSE, &parameter_tvb);
if ((parameter_tvb)&&(nas_eps_handle))
if ((tvb_length(parameter_tvb)>0)&&(nas_eps_handle))
call_dissector(nas_eps_handle,parameter_tvb,actx->pinfo, proto_tree_get_root(tree));