diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-05 22:39:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-05 22:39:23 +0000 |
commit | 3a1097a0aea8d80427fb93af8974f9df44ac6b28 (patch) | |
tree | 1105746fbacb4593e5eb58ff547ffcb14dff554d /gtk/mgcp_stat.c | |
parent | 2477298026d8d24ba3e3fa956b602261300e178a (diff) | |
download | wireshark-3a1097a0aea8d80427fb93af8974f9df44ac6b28.tar.gz wireshark-3a1097a0aea8d80427fb93af8974f9df44ac6b28.tar.bz2 wireshark-3a1097a0aea8d80427fb93af8974f9df44ac6b28.zip |
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/mgcp_stat.c')
-rw-r--r-- | gtk/mgcp_stat.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/mgcp_stat.c b/gtk/mgcp_stat.c index 6af03d426d..c8fd77de32 100644 --- a/gtk/mgcp_stat.c +++ b/gtk/mgcp_stat.c @@ -302,11 +302,17 @@ gtk_mgcpstat_init(const char *optarg, void *userdata _U_) gdk_window_raise(ms->win->window); } -static tap_dfilter_dlg mgcp_srt_dlg = { +static tap_param mgcp_srt_params[] = { + { PARAM_FILTER, "Filter", NULL } +}; + +static tap_param_dlg mgcp_srt_dlg = { "MGCP Service Response Time (SRT) Statistics", "mgcp,srt", gtk_mgcpstat_init, - -1 + -1, + G_N_ELEMENTS(mgcp_srt_params), + mgcp_srt_params }; void |