diff options
Diffstat (limited to 'ui/gtk')
-rw-r--r-- | ui/gtk/iax2_analysis.c | 2 | ||||
-rw-r--r-- | ui/gtk/rtp_analysis.c | 2 | ||||
-rw-r--r-- | ui/gtk/rtp_stream_dlg.c | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/ui/gtk/iax2_analysis.c b/ui/gtk/iax2_analysis.c index e167e570ee..3297601d55 100644 --- a/ui/gtk/iax2_analysis.c +++ b/ui/gtk/iax2_analysis.c @@ -3771,7 +3771,7 @@ void iax2_analysis_cb(GtkAction *action _U_, gpointer user_data _U_) port_dst_rev = edt.pi.srcport; /* Scan for rtpstream */ - rtpstream_scan(rtpstream_dlg_get_tapinfo(), &cfile); + rtpstream_scan(rtpstream_dlg_get_tapinfo(), &cfile, NULL); /* search for reversed direction in the global rtp streams list */ nfound = 0; strinfo_list = g_list_first(rtpstream_dlg_get_tapinfo()->strinfo_list); diff --git a/ui/gtk/rtp_analysis.c b/ui/gtk/rtp_analysis.c index 2e319b440c..4f6fbb9e29 100644 --- a/ui/gtk/rtp_analysis.c +++ b/ui/gtk/rtp_analysis.c @@ -3999,7 +3999,7 @@ rtp_analysis_cb(GtkAction *action _U_, gpointer user_data _U_) } /* Scan for rtpstream */ - rtpstream_scan(rtpstream_dlg_get_tapinfo(), &cfile); + rtpstream_scan(rtpstream_dlg_get_tapinfo(), &cfile, NULL); /* search for reversed direction in the global rtp streams list */ nfound = 0; strinfo_list = g_list_first(rtpstream_dlg_get_tapinfo()->strinfo_list); diff --git a/ui/gtk/rtp_stream_dlg.c b/ui/gtk/rtp_stream_dlg.c index 75b64e4a15..1762f7e6d2 100644 --- a/ui/gtk/rtp_stream_dlg.c +++ b/ui/gtk/rtp_stream_dlg.c @@ -1149,11 +1149,13 @@ void rtpstream_dlg_show(GList *list_lcl) /* entry point when called via the GTK menu */ void rtpstream_launch(GtkAction *action _U_, gpointer user_data _U_) { + const char *filter = gtk_entry_get_text(GTK_ENTRY(main_display_filter_widget)); + /* Register the tap listener */ - register_tap_listener_rtp_stream(&the_tapinfo_struct); + register_tap_listener_rtp_stream(&the_tapinfo_struct, filter); /* Scan for RTP streams (redissect all packets) */ - rtpstream_scan(&the_tapinfo_struct, &cfile); + rtpstream_scan(&the_tapinfo_struct, &cfile, filter); /* Show the dialog box with the list of streams */ rtpstream_dlg_show(the_tapinfo_struct.strinfo_list); |