From 8510ba40e1e59ead29ad2b2ec4530f0e9394fafb Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Tue, 22 Apr 2008 06:36:15 +0000 Subject: Fix for bug 2481: Remove debug code svn path=/trunk/; revision=25146 --- epan/dissectors/packet-mikey.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'epan') diff --git a/epan/dissectors/packet-mikey.c b/epan/dissectors/packet-mikey.c index 23e6337a2a..ccc74e2f28 100644 --- a/epan/dissectors/packet-mikey.c +++ b/epan/dissectors/packet-mikey.c @@ -753,7 +753,6 @@ dissect_payload_kemac(mikey_t *mikey, tvbuff_t *tvb, packet_info *pinfo, proto_t mac_length = 160/8; break; default: - proto_tree_add_debug_text(tree, "Unknown mac alg %d", mac_alg); return -1; } @@ -976,7 +975,6 @@ dissect_payload_v(mikey_t *mikey _U_, tvbuff_t *tvb, packet_info *pinfo _U_, pro length = 160/8; break; default: - proto_tree_add_debug_text(tree, "Unknown mac alg %d", alg); return -1; } @@ -1311,7 +1309,6 @@ dissect_mikey(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) len = dissect_payload(payload, mikey, subtvb, pinfo, mikey_payload_tree); if (len < 0) { - proto_tree_add_debug_text(mikey_payload_tree, "Negative length"); return -1; } -- cgit v1.2.3