From b78ec5269315ff54b7643df9e5deb8a574224bb2 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Fri, 5 Nov 2010 22:44:03 +0000 Subject: Use value_string_ext fcns to access certain value_string arrays; Sort certain value_string arrays so the values are in ascending order; Use val_to_str_ext() instead of for loops to do value_string array lookups (voip_calls.c). Minor whitespace cleanup. svn path=/trunk/; revision=34794 --- epan/dissectors/packet-h248_annex_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-h248_annex_c.c') diff --git a/epan/dissectors/packet-h248_annex_c.c b/epan/dissectors/packet-h248_annex_c.c index 9cacc49358..cb927cc3e5 100644 --- a/epan/dissectors/packet-h248_annex_c.c +++ b/epan/dissectors/packet-h248_annex_c.c @@ -1245,7 +1245,7 @@ void proto_register_h248_annex_c(void) { { &hf_h248_pkg_annexc_tmr, { "TMR", "h248.pkg.annexc.tmr", - FT_UINT8, BASE_HEX, VALS(isup_transmission_medium_requirement_value), 0, + FT_UINT8, BASE_HEX|BASE_EXT_STRING, &isup_transmission_medium_requirement_value_ext, 0, "Transmission Medium Requirement", HFILL }}, { &hf_h248_pkg_annexc_tmrsr, { "TMSR", "h248.pkg.annexc.tmsr", -- cgit v1.2.3