aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2008-10-13 19:32:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2008-10-13 19:32:06 +0000
commit51de8ebdb83f4dbea1413f4b0d871608fbeba112 (patch)
treea0b7eb97cd74f7f1629ece0210dea3ea9abe74af /epan/dissectors/packet-rtp.c
parent61fdd2f1f6c2ec509e78edeaa707ade77975f404 (diff)
Back out the expert info - it's wrong.
svn path=/trunk/; revision=26441
Diffstat (limited to 'epan/dissectors/packet-rtp.c')
-rw-r--r--epan/dissectors/packet-rtp.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/epan/dissectors/packet-rtp.c b/epan/dissectors/packet-rtp.c
index 54d0d6c035..2036a96078 100644
--- a/epan/dissectors/packet-rtp.c
+++ b/epan/dissectors/packet-rtp.c
@@ -70,7 +70,6 @@
#include <epan/rtp_pt.h>
#include "packet-ntp.h"
#include <epan/conversation.h>
-#include <epan/expert.h>
#include <epan/reassemble.h>
#include <epan/tap.h>
@@ -1364,7 +1363,7 @@ static void show_setup_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Conversation and current data */
struct _rtp_conversation_info *p_conv_data = NULL;
proto_tree *rtp_setup_tree;
- proto_item *ti, *cause;
+ proto_item *ti;
/* Use existing packet info if available */
p_conv_data = p_get_proto_data(pinfo->fd, proto_rtp);
@@ -1388,20 +1387,6 @@ static void show_setup_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
item = proto_tree_add_string(rtp_setup_tree, hf_rtp_setup_method,
tvb, 0, 0, p_conv_data->method);
PROTO_ITEM_SET_GENERATED(item);
- /* If SRC or DST port are equal
- * it may cuse problems for applications checking media streams
- * like MediaGateways SessionBorderGateways etc.
- */
-
- if(pinfo->destport==pinfo->srcport){
- cause=proto_tree_add_text(rtp_setup_tree, tvb, 0, 0, "[Destination and Source port are equal]");
-
- proto_item_set_expert_flags(cause, PI_MALFORMED, PI_WARN);
- expert_add_info_format(pinfo, cause, PI_MALFORMED, PI_WARN,
- "Destination and Source port are equal");
-
- }
-
}
}