summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/check_icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd/check_icmp.c')
-rw-r--r--usr.sbin/relayd/check_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/check_icmp.c b/usr.sbin/relayd/check_icmp.c
index 8dd77cdeddf..1f2bf1e71e5 100644
--- a/usr.sbin/relayd/check_icmp.c
+++ b/usr.sbin/relayd/check_icmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_icmp.c,v 1.13 2007/02/12 10:39:48 pyr Exp $ */
+/* $OpenBSD: check_icmp.c,v 1.14 2007/02/23 00:28:06 deraadt Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -356,7 +356,7 @@ in_cksum(u_short *addr, int len)
}
/* add back carry outs from top 16 bits to low 16 bits */
- sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */
+ sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */
sum += (sum >> 16); /* add carry */
answer = ~sum; /* truncate to 16 bits */