Skip to content

Commit

Permalink
X11: Sort mesa_enum to allow for value_string_ext
Browse files Browse the repository at this point in the history
Adjust the dissector generator to put mesa_enum values in
numerical order.  Remove comments about where the specific
values came from as sorting them means the comments aren't
always going to be in the right place.

Change-Id: I3c6b8252017c8a3ec379be49b3df069ec488cd1c
Reviewed-on: https://code.wireshark.org/review/21198
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
  • Loading branch information
mmann78 committed Apr 18, 2017
1 parent 73e2354 commit c908846
Show file tree
Hide file tree
Showing 4 changed files with 1,310 additions and 1,515 deletions.
1 change: 1 addition & 0 deletions epan/dissectors/x11-extension-implementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -3741,6 +3741,7 @@ static const value_string glx_render_op_name[] = {
{ 4329, "glCurrentPaletteMatrixARB" },
{ 0, NULL }
};
static value_string_ext mesa_enum_ext = VALUE_STRING_EXT_INIT(mesa_enum);

static void dispatch_glx_render(tvbuff_t *tvb, packet_info *pinfo, int *offsetp, proto_tree *t, guint byte_order, int length)
{
Expand Down
Loading

0 comments on commit c908846

Please sign in to comment.