Getting wrong addr_type from the packet is not a dissector bug.

svn path=/trunk/; revision=34847
This commit is contained in:
Stig Bjørlykke 2010-11-12 07:54:39 +00:00
parent 5d6d0f6fea
commit 775daf50ce
1 changed files with 0 additions and 2 deletions

View File

@ -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 */
}