diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-07 06:29:31 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-12-07 06:29:31 +0000 |
commit | fa1a51264f71b441ddc73103cda1f83cb951a135 (patch) | |
tree | a38a9aee7da0a6de3317b3a8db1810edef2745af /epan/dissectors | |
parent | 1046e0eadb474c3fcdb55bd1e7534ea4b03332b3 (diff) |
RatingGroup -> RatingGroupId
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40110 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-gprscdr.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/epan/dissectors/packet-gprscdr.c b/epan/dissectors/packet-gprscdr.c index 2eae899470..aa3651c17a 100644 --- a/epan/dissectors/packet-gprscdr.c +++ b/epan/dissectors/packet-gprscdr.c @@ -1493,8 +1493,8 @@ dissect_gprscdr_PSFurnishChargingInformation(gboolean implicit_tag _U_, tvbuff_t static int dissect_gprscdr_RatingGroupId(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, - NULL); + offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, + NULL); return offset; } @@ -1693,16 +1693,6 @@ dissect_gprscdr_GPRSCallEventRecord(gboolean implicit_tag _U_, tvbuff_t *tvb _U_ return offset; } - - -static int -dissect_gprscdr_RatingGroup(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, - NULL); - - return offset; -} - /*--- PDUs ---*/ int dissect_gprscdr_GPRSCallEventRecord_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_) { @@ -2138,7 +2128,7 @@ proto_register_gprscdr(void) "TimeStamp", HFILL }}, { &hf_gprscdr_ratingGroup, { "ratingGroup", "gprscdr.ratingGroup", - FT_BYTES, BASE_NONE, NULL, 0, + FT_INT32, BASE_DEC, NULL, 0, "RatingGroupId", HFILL }}, { &hf_gprscdr_chargingRuleBaseName, { "chargingRuleBaseName", "gprscdr.chargingRuleBaseName", |