summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-05-20 21:50:39 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-05-20 21:50:39 +0000
commite16f6e62004a1e7a78aed3a52cab1b35cc691fae (patch)
tree88192ac15931b61af13407d29a7f321d8d821afe
parent3029e334b72448261a219a9ffc2de2baa845cf23 (diff)
Notes
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 36278321d876..f0cf8fa4f5df 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -309,7 +309,7 @@ ip_input(struct mbuf *m)
} else
rule = NULL ;
-#ifdef DIAGNOSTIC
+#ifdef INVARIANTS
if (m == NULL || (m->m_flags & M_PKTHDR) == 0)
panic("ip_input no HDR");
#endif