summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-19 05:14:46 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-05-19 05:14:46 +0000
commitdf28f8b3d4c414219bab2309d25feb43fa9369a4 (patch)
tree06327c6bddc75813f21dd4cb3369bf0ca367eaef /sys/netinet6/ip6_output.c
parentf697ed1fbbb9247d2aa91d7a50f2d31252d543a3 (diff)
NULL != 0. from netbsd-current.
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 711a69f1300..81788cfc92a 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.4 2000/02/07 06:09:10 itojun Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.5 2000/05/19 05:14:45 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -670,7 +670,7 @@ skip_ipsec2:;
* if necessary.
*/
if (ip6_mrouter && (flags & IPV6_FORWARDING) == 0) {
- if (ip6_mforward(ip6, ifp, m) != NULL) {
+ if (ip6_mforward(ip6, ifp, m) != 0) {
m_freem(m);
goto done;
}