forked from osmocom/wireshark
Explicitly check for DCE/RPC dissector name in the Decode As dialog because it doesn't have a specific subdissector table to invoke the DCE/RPC "Decode As" tab.
bug:10368 Change-Id: Iff94ddaf0c9f4d002be89dab480b6f9550ebd82f Reviewed-on: https://code.wireshark.org/review/3575 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Cal Turney <cturney@charter.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
986e34722b
commit
b0b027d147
|
@ -1303,7 +1303,6 @@ decode_add_notebook (GtkWidget *format_hb)
|
|||
const char* proto_name;
|
||||
GList *list_entry;
|
||||
decode_as_t *entry;
|
||||
dissector_table_t sub_dissectors;
|
||||
|
||||
/* Start a nootbook for flipping between sets of changes */
|
||||
notebook = gtk_notebook_new();
|
||||
|
@ -1320,8 +1319,8 @@ decode_add_notebook (GtkWidget *format_hb)
|
|||
entry = (decode_as_t *)list_entry->data;
|
||||
if (!strcmp(proto_name, entry->name))
|
||||
{
|
||||
sub_dissectors = find_dissector_table(entry->table_name);
|
||||
if (sub_dissectors != NULL)
|
||||
if ((find_dissector_table(entry->table_name) != NULL) ||
|
||||
(!strcmp(proto_name, "dcerpc")))
|
||||
{
|
||||
page = decode_add_simple_page(entry);
|
||||
label = gtk_label_new(entry->title);
|
||||
|
|
Loading…
Reference in New Issue