aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-27 21:25:50 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-28 04:26:19 +0000
commit2b615cf32250173e21b36960b48c290298b360ca (patch)
tree298acdba3bbe2ff5780f919da38cd1524918a094
parent985c0594a57317dbc612228f423fd38967c677bf (diff)
Also display the protocol with -G dissector-tables.
Change-Id: If5c61195ad6bfb86c8e047428abaa6b0d48e7d74 Reviewed-on: https://code.wireshark.org/review/24142 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--epan/packet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 21abf59..b44a58b 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -3319,6 +3319,11 @@ dissector_dump_dissector_tables_display (gpointer key, gpointer user_data _U_)
default:
break;
}
+ if (table->protocol != NULL) {
+ ws_debug_printf("\t%s",
+ proto_get_protocol_short_name(table->protocol));
+ } else
+ ws_debug_printf("\t(no protocol)");
ws_debug_printf("\tDecode As %ssupported",
table->supports_decode_as ? "" : "not ");
ws_debug_printf("\n");