diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-08-10 22:55:02 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-08-10 22:55:02 +0000 |
commit | 638d74d43f9baf45dc3641939eec36f801414187 (patch) | |
tree | 5bfcabbb83a6e7359cfc302cdc604264560d66a0 /epan/dissectors/packet-3g-a11.c | |
parent | e6ffe7b59b9f36c534d3b2d6cc78b05dfe517f67 (diff) | |
download | wireshark-638d74d43f9baf45dc3641939eec36f801414187.tar.gz |
Use val_to_str_const() where appropriate;
Also (for a few files):
- create/use some extended value strings;
- remove unneeded #include files;
- remove unneeded variable initialization;
- re-order fcns slightly so prefs_reg_handoff...() at end, etc
svn path=/trunk/; revision=44438
Diffstat (limited to 'epan/dissectors/packet-3g-a11.c')
-rw-r--r-- | epan/dissectors/packet-3g-a11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c index fe94029b50..491dfdefa1 100644 --- a/epan/dissectors/packet-3g-a11.c +++ b/epan/dissectors/packet-3g-a11.c @@ -662,7 +662,7 @@ dissect_3gpp2_radius_aut_flow_profile_ids(proto_tree *tree, tvbuff_t *tvb, pac /* value is 2 octets */ value = tvb_get_ntohs(tvb,offset+2); item = proto_tree_add_text(tree, tvb, offset, sub_type_length, "%s = %u", - val_to_str(sub_type, a11_aut_flow_prof_subtype_vals, "Unknown"), value); + val_to_str_const(sub_type, a11_aut_flow_prof_subtype_vals, "Unknown"), value); sub_tree = proto_item_add_subtree(item, ett_a11_aut_flow_profile_ids); proto_tree_add_item(sub_tree, hf_a11_aut_flow_prof_sub_type, tvb, offset, 1, ENC_BIG_ENDIAN); |