summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/in4_cksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/in4_cksum.c b/sys/arch/vax/vax/in4_cksum.c
index f878572ba62..c10326c3bf3 100644
--- a/sys/arch/vax/vax/in4_cksum.c
+++ b/sys/arch/vax/vax/in4_cksum.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in4_cksum.c,v 1.2 2005/05/24 20:35:29 miod Exp $ */
+/* $OpenBSD: in4_cksum.c,v 1.3 2008/02/16 23:01:18 miod Exp $ */
/* $NetBSD: in4_cksum.c,v 1.8 2003/09/29 22:54:28 matt Exp $ */
/*
@@ -120,7 +120,7 @@ in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len)
#endif
if (nxt != 0) {
-#ifdef DIAGNOSTIC
+#ifdef DEBUG
if (off < sizeof(struct ipovly))
panic("in4_cksum: offset too short");
if (m->m_len < sizeof(struct ip))