diff options
author | Michael Mann <mmann78@netscape.net> | 2015-10-31 22:35:06 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-04 12:43:35 +0000 |
commit | e0e574d16748313dd8903f886d1af9eb0821fee7 (patch) | |
tree | 703ef32dae8cf7b5e20b967071b8830b1f664d62 /ui/gtk/decode_as_dlg.c | |
parent | 74541a9596eead6647c592de9aa46797c2dffa84 (diff) |
Refactor DCE/RPC dissection to include a real dissector table.
This is hopefully just the first step in getting DCE/RPC dissection to use "standard" APIs instead of homegrown ones.
For starters, it allows Decode As functionality to be less hacky (although incomplete in Qt)
Change-Id: Ia0923a3d8d514ab7acce32e26ee7e08f6e24feca
Reviewed-on: https://code.wireshark.org/review/11468
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/decode_as_dlg.c')
-rw-r--r-- | ui/gtk/decode_as_dlg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/decode_as_dlg.c b/ui/gtk/decode_as_dlg.c index 8c8cf64c12..a0707783d9 100644 --- a/ui/gtk/decode_as_dlg.c +++ b/ui/gtk/decode_as_dlg.c @@ -1327,8 +1327,7 @@ decode_add_notebook (GtkWidget *format_hb) entry = (decode_as_t *)list_entry->data; if (!strcmp(proto_name, entry->name)) { - if ((find_dissector_table(entry->table_name) != NULL) || - (!strcmp(proto_name, "dcerpc"))) + if (find_dissector_table(entry->table_name) != NULL) { page = decode_add_simple_page(entry); label = gtk_label_new(entry->title); |