diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-03 18:28:35 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-11-03 18:28:35 +0000 |
commit | cca8f27ba51dc7b28c369929a8de06f7cdd1e4d1 (patch) | |
tree | 9b0cb0771383a2c43c39aea3d114cfbbb46b5820 /epan/dissectors/packet-wtp.c | |
parent | 392ad871976b8ac76761c9079150f1339f5f9cd7 (diff) |
Use value_string_ext fcns to access certain value_string arrays;
Some whitespace cleanup.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34763 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-wtp.c')
-rw-r--r-- | epan/dissectors/packet-wtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wtp.c b/epan/dissectors/packet-wtp.c index 3aaf8181a9..786e7032f9 100644 --- a/epan/dissectors/packet-wtp.c +++ b/epan/dissectors/packet-wtp.c @@ -552,7 +552,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) ", Reason: %s (%u)", ABORT, PROVIDER, - val_to_str(reason, vals_wsp_reason_codes, "Undefined"), + val_to_str_ext_const(reason, &vals_wsp_reason_codes_ext, "Undefined"), reason); } break; @@ -926,7 +926,7 @@ proto_register_wtp(void) { &hf_wtp_header_Abort_reason_user, { "Abort Reason", "wtp.abort.reason.user", - FT_UINT8, BASE_HEX, VALS ( vals_wsp_reason_codes ), 0x00, + FT_UINT8, BASE_HEX|BASE_EXT_STRING, &vals_wsp_reason_codes_ext, 0x00, NULL, HFILL } }, |