summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/in6_gif.c')
-rw-r--r--sys/netinet6/in6_gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_gif.c b/sys/netinet6/in6_gif.c
index a6825ac73d9..771c2db26bf 100644
--- a/sys/netinet6/in6_gif.c
+++ b/sys/netinet6/in6_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_gif.c,v 1.12 2001/04/14 00:30:59 angelos Exp $ */
+/* $OpenBSD: in6_gif.c,v 1.13 2001/05/11 17:20:12 aaron Exp $ */
/* $KAME: in6_gif.c,v 1.43 2001/01/22 07:27:17 itojun Exp $ */
/*
@@ -122,7 +122,7 @@ in6_gif_output(ifp, family, m, rt)
{
if (m->m_len < sizeof(struct ip)) {
m = m_pullup(m, sizeof(struct ip));
- if (!m)
+ if (m == NULL)
return ENOBUFS;
}
hlen = (mtod(m, struct ip *)->ip_hl) << 2;