Check if the handle exist.

svn path=/trunk/; revision=26866
This commit is contained in:
Anders Broman 2008-11-27 19:37:24 +00:00
parent 130a59e567
commit bcae5cce72
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -2096,7 +2096,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)
if ((parameter_tvb)&&(nas_eps_handle))
call_dissector(nas_eps_handle,parameter_tvb,actx->pinfo, proto_tree_get_root(tree));