aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/wsp_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/wsp_stat.c')
-rw-r--r--gtk/wsp_stat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/wsp_stat.c b/gtk/wsp_stat.c
index d3e713c032..f41df5337a 100644
--- a/gtk/wsp_stat.c
+++ b/gtk/wsp_stat.c
@@ -34,7 +34,8 @@
#include <epan/packet_info.h>
#include <epan/epan.h>
-#include "tap_menu.h"
+#include "../stat.h"
+#include "stat_menu.h"
#include "simple_dialog.h"
#include "ui_util.h"
#include "dlg_utils.h"
@@ -425,8 +426,8 @@ static tap_dfilter_dlg wsp_stat_dlg = {
void
register_tap_listener_gtkwspstat(void)
{
- register_tap_listener_cmd_arg("wsp,stat", gtk_wspstat_init);
+ register_stat_cmd_arg("wsp,stat", gtk_wspstat_init);
- register_tap_menu_item("WAP-WSP...", REGISTER_TAP_GROUP_TELEPHONY,
+ register_stat_menu_item("WAP-WSP...", REGISTER_STAT_GROUP_TELEPHONY,
gtk_tap_dfilter_dlg_cb, NULL, NULL, &(wsp_stat_dlg));
}