Compare (mbuf *) with NULL, not 0.

MFC after:	3 days
This commit is contained in:
Robert Watson 2005-04-10 18:05:02 +00:00
parent c5cb8d604c
commit e1968df17f

View File

@ -152,7 +152,7 @@ ipxintr(struct mbuf *m)
ipxstat.ipxs_total++;
if ((m->m_flags & M_EXT || m->m_len < sizeof(struct ipx)) &&
(m = m_pullup(m, sizeof(struct ipx))) == 0) {
(m = m_pullup(m, sizeof(struct ipx))) == NULL) {
ipxstat.ipxs_toosmall++;
return;
}