diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-30 15:28:07 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-01-01 17:36:11 +0000 |
commit | b344107d757466e0768a3ef8927852479e926cf6 (patch) | |
tree | 7e5599b63bd060f710ad37d053d504f448589476 /ui/gtk/packet_list_store.c | |
parent | b1281c8308a6ea11da91e022a2e7c407ab94c864 (diff) |
Make color filters part of dissection
Color filters can be seen as a function that takes a tree and display
filters as input and a (possibly empty) coloring rule as output.
This coloring rule is then added to the frame tree and used by the GUI
for coloring the packets list.
From an architectural POV, "coloring" is part of the UI component, but
since it influences the tree, it is something for the dissection
component.
Bug: 5703
Bug: 6099
Change-Id: I73d132ec1dca7262bcb1b55c8481ca564c6161d1
Reviewed-on: https://code.wireshark.org/review/12507
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/packet_list_store.c')
-rw-r--r-- | ui/gtk/packet_list_store.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/gtk/packet_list_store.c b/ui/gtk/packet_list_store.c index 8c4e21606b..5be13931a8 100644 --- a/ui/gtk/packet_list_store.c +++ b/ui/gtk/packet_list_store.c @@ -1163,9 +1163,6 @@ packet_list_dissect_and_cache_record(PacketList *packet_list, PacketListRecord * */ epan_dissect_run(&edt, cfile.cd_t, &phdr, frame_tvbuff_new_buffer(fdata, &buf), fdata, cinfo); - if (dissect_color) - fdata->color_filter = color_filters_colorize_packet(&edt); - if (dissect_columns) { /* "Stringify" non frame_data vals */ epan_dissect_fill_in_columns(&edt, FALSE, FALSE /* fill_fd_columns */); |