aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ncp_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-05 22:39:23 +0000
committerGuy Harris <guy@alum.mit.edu>2011-06-05 22:39:23 +0000
commit3a1097a0aea8d80427fb93af8974f9df44ac6b28 (patch)
tree1105746fbacb4593e5eb58ff547ffcb14dff554d /gtk/ncp_stat.c
parent2477298026d8d24ba3e3fa956b602261300e178a (diff)
Some work on generalizing the "display filter" tap parameter dialog box
to more generally support fetching parameters for taps. svn path=/trunk/; revision=37559
Diffstat (limited to 'gtk/ncp_stat.c')
-rw-r--r--gtk/ncp_stat.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/ncp_stat.c b/gtk/ncp_stat.c
index 74f130157c..f905d46ef7 100644
--- a/gtk/ncp_stat.c
+++ b/gtk/ncp_stat.c
@@ -721,11 +721,17 @@ gtk_ncpstat_init(const char *optarg, void *userdata _U_)
cf_redissect_packets(&cfile);
}
-static tap_dfilter_dlg ncp_stat_dlg = {
+static tap_param ncp_stat_params[] = {
+ { PARAM_FILTER, "Filter", NULL }
+};
+
+static tap_param_dlg ncp_stat_dlg = {
"NCP SRT Statistics",
"ncp,srt",
gtk_ncpstat_init,
- -1
+ -1,
+ G_N_ELEMENTS(ncp_stat_params),
+ ncp_stat_params
};
void