diff options
Diffstat (limited to 'sys/netinet/ip_ipip.c')
-rw-r--r-- | sys/netinet/ip_ipip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipip.c b/sys/netinet/ip_ipip.c index 02ab27cd7f2..40542d7cbcd 100644 --- a/sys/netinet/ip_ipip.c +++ b/sys/netinet/ip_ipip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipip.c,v 1.13 2001/04/14 00:30:59 angelos Exp $ */ +/* $OpenBSD: ip_ipip.c,v 1.14 2001/05/11 17:20:11 aaron Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -190,7 +190,7 @@ ipip_input(struct mbuf *m, int iphlen) /* Bring the IP header in the first mbuf, if not there already */ if (m->m_len < hlen) { - if ((m = m_pullup(m, hlen)) == 0) + if ((m = m_pullup(m, hlen)) == NULL) { DPRINTF(("ipip_input(): m_pullup() failed\n")); ipipstat.ipips_hdrops++; @@ -250,7 +250,7 @@ ipip_input(struct mbuf *m, int iphlen) /* Bring the inner IP header in the first mbuf, if not there already */ if (m->m_len < hlen) { - if ((m = m_pullup(m, hlen)) == 0) + if ((m = m_pullup(m, hlen)) == NULL) { DPRINTF(("ipip_input(): m_pullup() failed\n")); ipipstat.ipips_hdrops++; |