diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-22 10:12:07 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-03-22 10:12:07 +0000 |
commit | a07fff3b15fd01eadbe8d2e62bc23766cd9552cf (patch) | |
tree | 60a42d413b939b8231300539b287155f77aab3d4 | |
parent | 7191538bcc553fc7b0df672535a49c50c3981080 (diff) | |
download | wireshark-a07fff3b15fd01eadbe8d2e62bc23766cd9552cf.tar.gz |
Corrected hack for TAPA by checking for "not IPv4".
Coverity 343.
svn path=/trunk/; revision=36244
-rw-r--r-- | epan/dissectors/packet-ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index b884eb927c..55ae7df373 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -1727,7 +1727,7 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) * the generic ip.proto dispatcher */ if (nxt == IP_PROTO_IPIP && - (tvb_get_guint8(next_tvb, 0) & 0xF0) != 40 && + (tvb_get_guint8(next_tvb, 0) & 0xF0) != 0x40 && tvb_get_ntohs(next_tvb, 2) < 20) { call_dissector(tapa_handle,next_tvb, pinfo, parent_tree); |