diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-11-15 19:46:07 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-11-15 19:46:07 +0000 |
commit | 8548e1661309223e03b92074224567bed4e75604 (patch) | |
tree | 999db024b733dd956dab88afd9c1ec1d290e1486 /asn1 | |
parent | 0f286bbb8997f22ccd8bdc6abb6989c8a5bb58d6 (diff) |
Use value_string_ext fcns to access a value_string array.
svn path=/trunk/; revision=34884
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/ranap/ranap.cnf | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/asn1/ranap/ranap.cnf b/asn1/ranap/ranap.cnf index c5b10e27df..3c44f283e9 100644 --- a/asn1/ranap/ranap.cnf +++ b/asn1/ranap/ranap.cnf @@ -25,6 +25,9 @@ SourceRNC-ToTargetRNC-TransparentContainer ProcedureCode ProtocolIE-ID +#.USE_VALS_EXT +ProtocolIE-ID + #.NO_EMIT TBCD-STRING #.END @@ -66,7 +69,7 @@ RAB-DataVolumeReportItem/dl-UnsuccessfullyTransmittedDataVolume rab-dl-Unsuccess #.FN_PARS ProtocolIE-ID VAL_PTR=&ProtocolIE_ID #.FN_FTR ProtocolIE-ID if (tree) { - proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(ProtocolIE_ID, VALS(ranap_ProtocolIE_ID_vals), "unknown (%d)")); + proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str_ext(ProtocolIE_ID, &ranap_ProtocolIE_ID_vals_ext, "unknown (%d)")); } #.END @@ -346,7 +349,7 @@ dissect_ranap_TargetRNC_ToSourceRNC_TransparentContainer(tvb , offset, actx ,tre #.FN_PARS UE-AggregateMaximumBitRateUplink FN_VARIANT = _64b #.TYPE_ATTR -ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC STRINGS = VALS(ranap_ProtocolIE_ID_vals) +ProtocolExtensionID TYPE = FT_UINT8 DISPLAY = BASE_DEC|BASE_EXT_STRING STRINGS = &ranap_ProtocolIE_ID_vals_ext GTP-TEI TYPE = FT_UINT32 DISPLAY = BASE_HEX_DEC STRINGS = NULL #.ASSIGN_VALUE_TO_TYPE # RANAP does not have constants assigned to types, they are pure INTEGER |