summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-ip.c2
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);