aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sflow.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-12 07:54:39 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-12 07:54:39 +0000
commit2c4d595fdbd7c50b40f5c0b5a9ea0b1654a60428 (patch)
tree9d8827c739c15ca1ccbffad5a3cc3115e93cbe09 /epan/dissectors/packet-sflow.c
parentc1b63828adcdfcf1cac614c04bd8b96b4ef396f2 (diff)
Getting wrong addr_type from the packet is not a dissector bug.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34847 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sflow.c')
-rw-r--r--epan/dissectors/packet-sflow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sflow.c b/epan/dissectors/packet-sflow.c
index 56b83a1ab4..aa049da412 100644
--- a/epan/dissectors/packet-sflow.c
+++ b/epan/dissectors/packet-sflow.c
@@ -890,8 +890,6 @@ dissect_sflow_245_address_type(tvbuff_t *tvb, proto_tree *tree, gint offset,
* length this default case is doomed to failure. Might
* as well acknowledge that as soon as possible.
*/
- DISSECTOR_ASSERT ((addr_type == ADDR_TYPE_IPV4)
- || (addr_type == ADDR_TYPE_IPV6));
proto_tree_add_text(tree, tvb, offset - 4, 4, "Unknown address type (%u)", addr_type);
return 0; /* malformed packet */
}