diff options
Diffstat (limited to 'gtk/wsp_stat.c')
-rw-r--r-- | gtk/wsp_stat.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/wsp_stat.c b/gtk/wsp_stat.c index 75febf54c5..599fa4ad94 100644 --- a/gtk/wsp_stat.c +++ b/gtk/wsp_stat.c @@ -419,11 +419,17 @@ gtk_wspstat_init(const char *optarg, void *userdata _U_) gdk_window_raise(sp->win->window); } -static tap_dfilter_dlg wsp_stat_dlg = { +static tap_param wsp_stat_params[] = { + { PARAM_FILTER, "Filter", NULL } +}; + +static tap_param_dlg wsp_stat_dlg = { "WAP-WSP Packet Counter", "wsp,stat", gtk_wspstat_init, - -1 + -1, + G_N_ELEMENTS(wsp_stat_params), + wsp_stat_params }; void |