aboutsummaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-04-10 18:05:02 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-04-10 18:05:02 +0000
commite1968df17ff858aa92bb715825d5647aeaeaaa5e (patch)
treeddad48cb93717e81c34ae4fa99b58cfacec7acb4 /sys/netipx
parentc5cb8d604cc3055510e6aa169af8ded855151e1e (diff)
Notes
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index 16c1c2db5808..7852e2b1e726 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -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;
}