From 6de6f7f0f8f8b79c4fc7473c7e54dad433c7b61b Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 16 Jun 2015 17:07:04 -0400 Subject: Further refactor SRT stats. Create "common" SRT tap data collection intended for all GUIs. Refactor/merge functionality of existing dissectors that have SRT support (AFP, DCERPC, Diameter, FC, GTP, LDAP, NCP, RPC, SCIS, SMB, and SMB2) for both TShark and GTK. SMB and DCERPC "tap packet filtering" were different between TShark and GTK, so I went with GTK filter logic. CAMEL "tap packet filtering" was different between TShark and GTK, so GTK filtering logic was pushed to the dissector and the TShark tap was left alone. Change-Id: I7d6eaad0673fe628ef337f9165d7ed94f4a5e1cc Reviewed-on: https://code.wireshark.org/review/8894 Petri-Dish: Michael Mann Reviewed-by: Gerald Combs Reviewed-by: Michael Mann --- tshark.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index 1023c6fc0d..5e0ff974e8 100644 --- a/tshark.c +++ b/tshark.c @@ -104,6 +104,7 @@ #include #include #include +#include #include #if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS) @@ -1215,6 +1216,7 @@ DIAG_ON(cast-qual) register_all_tap_listeners(); conversation_table_set_gui_info(init_iousers); hostlist_table_set_gui_info(init_hostlists); + srt_table_iterate_tables(register_srt_tables, NULL); /* If invoked with the "-G" flag, we dump out information based on the argument to the "-G" flag; if no argument is specified, -- cgit v1.2.3