diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-09-03 11:18:13 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-09-09 21:57:08 +0000 |
commit | cd9f163eb91d4c70977f669472d5acaf7a4fbe7c (patch) | |
tree | 268428ad90ed1a46ae67df78c3124fc751e40b2d /ui/gtk/iax2_analysis.c | |
parent | 302b03a0bbe3702f93eced884d8103528c35e8d7 (diff) | |
download | wireshark-cd9f163eb91d4c70977f669472d5acaf7a4fbe7c.tar.gz |
Add the IAX2 Analysis dialog.
Copied from the RTP Analysis dialog, just like the GTK+ version.
Change-Id: I111020bc4073a3a3ba583bdace51a91ee5fef300
Reviewed-on: https://code.wireshark.org/review/10447
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/gtk/iax2_analysis.c')
-rw-r--r-- | ui/gtk/iax2_analysis.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/gtk/iax2_analysis.c b/ui/gtk/iax2_analysis.c index 054ffb3e5b..9819304e20 100644 --- a/ui/gtk/iax2_analysis.c +++ b/ui/gtk/iax2_analysis.c @@ -3482,7 +3482,7 @@ get_int_value_from_proto_tree(proto_tree *protocol_tree, #endif /****************************************************************************/ -void +static void iax2_analysis( address *ip_src_fwd, guint16 port_src_fwd, @@ -3608,7 +3608,7 @@ void iax2_analysis_cb(GtkAction *action _U_, gpointer user_data _U_) guint16 port_dst_rev; /* unsigned int ptype; */ - gchar filter_text[256]; + const gchar *filter_text = "iax2 && (ip || ipv6)"; dfilter_t *sfcode; gchar *err_msg; capture_file *cf; @@ -3620,7 +3620,6 @@ void iax2_analysis_cb(GtkAction *action _U_, gpointer user_data _U_) rtp_stream_info_t *strinfo; /* Try to compile the filter. */ - g_strlcpy(filter_text,"iax2 && (ip || ipv6)",256); if (!dfilter_compile(filter_text, &sfcode, &err_msg)) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "%s", err_msg); g_free(err_msg); |