aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h450/packet-h450-template.c
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2005-09-20 10:56:08 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2005-09-20 10:56:08 +0000
commitd3492e684a5c5d69c62672e108384961b4367477 (patch)
treeadfcf988eab408f711a60befd92074265e6bab65 /asn1/h450/packet-h450-template.c
parentdce67e2bbe11bf500cbe593140d26cea4dde08f0 (diff)
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
Diffstat (limited to 'asn1/h450/packet-h450-template.c')
-rw-r--r--asn1/h450/packet-h450-template.c4
1 files changed, 2 insertions, 2 deletions
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;
}