diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-20 10:56:08 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-20 10:56:08 +0000 |
commit | af538363a85f9b295961169d39276f902701e8e7 (patch) | |
tree | adfcf988eab408f711a60befd92074265e6bab65 /epan/dissectors/packet-h450.c | |
parent | bc442cf15a3fb14749b0d945d2e2b665cd8fd2bf (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
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15894 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-h450.c')
-rw-r--r-- | epan/dissectors/packet-h450.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h450.c b/epan/dissectors/packet-h450.c index dbb8bcbe9e..93b2542fd7 100644 --- a/epan/dissectors/packet-h450.c +++ b/epan/dissectors/packet-h450.c @@ -583,7 +583,7 @@ static gint ett_h450_Extension = -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[] = { @@ -1405,8 +1405,7 @@ static int dissect_presentationAllowedIndicator(tvbuff_t *tvb, int offset, packe static int dissect_h450_OBJECT_IDENTIFIER(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { - offset = dissect_per_object_identifier(tvb, offset, pinfo, tree, hf_index, - NULL); + offset = dissect_per_object_identifier(tvb, offset, pinfo, tree, hf_index, NULL); return offset; } @@ -4226,7 +4225,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; } |