- Turn a #ifdef DIAGNOSTIC to #ifdef INVARIANTS as the code from this line

through the #endif is really a sanity check.

Reviewed by: jake
This commit is contained in:
Andrew R. Reiter 2002-05-20 21:50:39 +00:00
parent 3029e334b7
commit e16f6e6200

View File

@ -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