summaryrefslogtreecommitdiff
path: root/ui/gtk/iax2_analysis.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-03 09:51:16 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-03 16:57:45 +0000
commit0818347d1b4a7c99c527be81973cb60989f491f1 (patch)
tree3c14b59f30ae925d585cecf3df99f5c7ab505f35 /ui/gtk/iax2_analysis.c
parent68fa739ef16b21271dc8c3cb5649aa929379f3aa (diff)
downloadwireshark-0818347d1b4a7c99c527be81973cb60989f491f1.tar.gz
Remove the GTK+ IAX2 analysis circuit check.
The IAX2 dissector stopped setting pinfo->circuit_id last October in g3d359da. Remove the corresponding check from the IAX2 Analysis dialog, otherwise it won't open. Change-Id: I538fffb2ec9950c796d01e64db5890f4e9d22b64 Reviewed-on: https://code.wireshark.org/review/10373 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/gtk/iax2_analysis.c')
-rw-r--r--ui/gtk/iax2_analysis.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ui/gtk/iax2_analysis.c b/ui/gtk/iax2_analysis.c
index 2894f0430b..f0bc3eaad1 100644
--- a/ui/gtk/iax2_analysis.c
+++ b/ui/gtk/iax2_analysis.c
@@ -3751,13 +3751,6 @@ void iax2_analysis_cb(GtkAction *action _U_, gpointer user_data _U_)
}
#endif
- /* check if it is part of a Call */
- if (edt.pi.circuit_id == 0) {
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "Please select a Call packet.");
- return;
- }
-
/* ok, it is a IAX2 frame, so let's get the ip and port values */
COPY_ADDRESS(&(ip_src_fwd), &(edt.pi.src));
COPY_ADDRESS(&(ip_dst_fwd), &(edt.pi.dst));