From d3492e684a5c5d69c62672e108384961b4367477 Mon Sep 17 00:00:00 2001 From: Tomas Kukosa Date: Tue, 20 Sep 2005 10:56:08 +0000 Subject: asn2eth - #.FN_BODY accepts parameters too - single line variant of #.FN_PAR is possible - new parameter FN_VARIANT for OBJECT IDENTIFIER packet-per.c - dissect_per_object_identifier() returns value as tvb - new dissect_per_object_identifier_str() function PER dissectors adapted and regenerated svn path=/trunk/; revision=15894 --- asn1/h450/packet-h450-template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'asn1/h450/packet-h450-template.c') diff --git a/asn1/h450/packet-h450-template.c b/asn1/h450/packet-h450-template.c index c8884d2ffa..e752a7bfd2 100644 --- a/asn1/h450/packet-h450-template.c +++ b/asn1/h450/packet-h450-template.c @@ -218,7 +218,7 @@ static gint ett_h4501_ROS = -1; /* Global variables */ static guint32 localOpcode; static guint32 localErrorCode; -static char globalcode_oid_str[256]; +static char *globalcode_oid_str; static gboolean is_globalcode; static const value_string localOpcode_vals[] = { @@ -423,7 +423,7 @@ dissect_h4501_localOpcode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t static int dissect_h4501_globalCode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) { - offset=dissect_per_object_identifier(tvb, offset, pinfo, tree, hf_h4501_globalCode, globalcode_oid_str); + offset=dissect_per_object_identifier_str(tvb, offset, pinfo, tree, hf_h4501_globalCode, &globalcode_oid_str); is_globalcode = TRUE; return offset; } -- cgit v1.2.3