aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-09 17:24:45 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-09 17:24:45 +0000
commit30e264848ad3587aa0189f7b83345f1b6d4fe0d9 (patch)
treeb5fda6dfdf487bb83f50ba3cea689604aac9d2d4 /epan/dissectors/packet-gsm_a_rr.c
parent7fd8943076ddff52eebcf8df133ea8996fd1b98c (diff)
Add a value_string_ext.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34825 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index e1e8d32bf5..f8f9ebfde1 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -2892,6 +2892,8 @@ static const value_string gsm_a_rr_amr_threshold_vals[] = {
{ 0, NULL }
};
+static value_string_ext gsm_a_rr_amr_threshold_vals_ext = VALUE_STRING_EXT_INIT(gsm_a_rr_amr_threshold_vals);
+
static const value_string gsm_a_rr_amr_hysteresis_vals[] = {
{ 0, "0.0 dB"},
{ 1, "0.5 dB"},
@@ -10181,7 +10183,7 @@ proto_register_gsm_a_rr(void)
},
{ &hf_gsm_a_rr_amr_threshold,
{ "AMR Threshold", "gsm_a.rr.amr_threshold",
- FT_UINT8, BASE_DEC, VALS(gsm_a_rr_amr_threshold_vals), 0x00,
+ FT_UINT8, BASE_DEC|BASE_EXT_STRING, &gsm_a_rr_amr_threshold_vals_ext, 0x00,
NULL, HFILL }
},
{ &hf_gsm_a_rr_amr_hysteresis,