summaryrefslogtreecommitdiff
path: root/proto_icmpv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto_icmpv4.c')
-rw-r--r--proto_icmpv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_icmpv4.c b/proto_icmpv4.c
index 55dd1b7..e6ebd43 100644
--- a/proto_icmpv4.c
+++ b/proto_icmpv4.c
@@ -39,7 +39,7 @@ static void icmp(struct pkt_buff *pkt)
if (icmp == NULL)
return;
- csum = calc_csum(icmp, pkt_len(pkt) + sizeof(*icmp), 0);
+ csum = calc_csum(icmp, pkt_len(pkt) + sizeof(*icmp));
tprintf(" [ ICMP ");
tprintf("Type (%u), ", icmp->type);