diff options
Diffstat (limited to 'gtk/sctp_chunk_stat.c')
-rw-r--r-- | gtk/sctp_chunk_stat.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk/sctp_chunk_stat.c b/gtk/sctp_chunk_stat.c index f425f47396..ea8252dc85 100644 --- a/gtk/sctp_chunk_stat.c +++ b/gtk/sctp_chunk_stat.c @@ -40,8 +40,6 @@ #include <epan/epan.h> #include <epan/value_string.h> -#include <epan/stat_cmd_args.h> -#include "stat_menu.h" #include <epan/tap.h> #include "../register.h" #include <epan/dissectors/packet-sctp.h> @@ -51,6 +49,7 @@ #include "dlg_utils.h" #include "../file.h" #include "../globals.h" +#include "../stat_menu.h" #include "../tap_dfilter_dlg.h" #include "tap_dfilter_dlg.h" #include "gui_utils.h" @@ -345,8 +344,6 @@ sctpstat_init(const char *optarg) void register_tap_listener_sctpstat(void) { - register_stat_cmd_arg("sctp,stat", sctpstat_init); - - register_stat_menu_item("SCTP/Chunk Counter", REGISTER_STAT_GROUP_TELEPHONY, - gtk_tap_dfilter_dlg_cb, NULL, NULL, &(sctp_stat_dlg)); + register_dfilter_stat(&sctp_stat_dlg, "SCTP/Chunk Counter", + REGISTER_STAT_GROUP_TELEPHONY); } |