diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-11-01 18:26:34 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-11-01 18:26:34 +0000 |
commit | c256942255a898ea514a69b8880654b044a154ee (patch) | |
tree | 3a425efa6a0ea87c369218256ca9d3d147ba679c /epan/dissectors/packet-gsm_a_gm.c | |
parent | d318d360d5e6c5df46570cdf8d2f113913feca12 (diff) |
Use value_string_ext fcns to access various value_string arrays.
Also: use value_string_const() instead of value_string() where apropriate;
minor reformatting & whitespace cleanup.
svn path=/trunk/; revision=34745
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
-rw-r--r-- | epan/dissectors/packet-gsm_a_gm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c index 276c9c1745..5ab5a9d27c 100644 --- a/epan/dissectors/packet-gsm_a_gm.c +++ b/epan/dissectors/packet-gsm_a_gm.c @@ -3221,7 +3221,7 @@ de_sm_pco(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add if ( handle != NULL ) { proto_tree_add_text(tree,tvb, curr_offset-3, 2, "Protocol: %s (%u)" , - val_to_str(prot, ppp_vals, "Unknown"), prot); + val_to_str_ext_const(prot, &ppp_vals_ext, "Unknown"), prot); proto_tree_add_text(tree,tvb, curr_offset-1, 1, "Length: 0x%02x (%u)", e_len , e_len); /* * dissect the embedded message |