diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-12 07:54:39 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-12 07:54:39 +0000 |
commit | 775daf50cee100c9cbb07f6e385ddaa2a055689e (patch) | |
tree | 9d8827c739c15ca1ccbffad5a3cc3115e93cbe09 /epan/dissectors/packet-sflow.c | |
parent | 5d6d0f6feaecfd32292557ff5c43d8da41c50b05 (diff) |
Getting wrong addr_type from the packet is not a dissector bug.
svn path=/trunk/; revision=34847
Diffstat (limited to 'epan/dissectors/packet-sflow.c')
-rw-r--r-- | epan/dissectors/packet-sflow.c | 2 |
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 */ } |