diff options
Diffstat (limited to 'epan/dissectors/packet-ip.c')
-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 019c70927e..4946dca965 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -1502,7 +1502,7 @@ dissect_ip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) /* * If we have the entire IP header available, check the checksum. */ - if (ip_check_checksum && tvb_bytes_exist(tvb, offset, hlen) && !pinfo->in_error_pkt) { + if (ip_check_checksum && tvb_bytes_exist(tvb, offset, hlen)) { ipsum = ip_checksum(tvb_get_ptr(tvb, offset, hlen), hlen); if (tree) { if (ipsum == 0) { |