-/* $OpenBSD: pf.c,v 1.1111 2021/02/16 03:12:32 dlg Exp $ */
+/* $OpenBSD: pf.c,v 1.1112 2021/02/23 11:43:40 mvs Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
for (m0 = m1; m0; m0 = m1) {
m1 = m0->m_nextpkt;
- m0->m_nextpkt = 0;
+ m0->m_nextpkt = NULL;
if (error == 0)
error = ifp->if_output(ifp, m0, sintosa(dst), rt);
else
-/* $OpenBSD: ip_output.c,v 1.365 2021/02/10 18:28:06 bluhm Exp $ */
+/* $OpenBSD: ip_output.c,v 1.366 2021/02/23 11:43:41 mvs Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
for (; m; m = m0) {
m0 = m->m_nextpkt;
- m->m_nextpkt = 0;
+ m->m_nextpkt = NULL;
if (error == 0)
error = ifp->if_output(ifp, m, sintosa(dst), ro->ro_rt);
else
-/* $OpenBSD: ip6_output.c,v 1.253 2021/02/02 17:55:12 claudio Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.254 2021/02/23 11:43:41 mvs Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
* Remove leading garbages.
*/
m = m0->m_nextpkt;
- m0->m_nextpkt = 0;
+ m0->m_nextpkt = NULL;
m_freem(m0);
for (m0 = m; m; m = m0) {
m0 = m->m_nextpkt;
- m->m_nextpkt = 0;
+ m->m_nextpkt = NULL;
if (error == 0) {
ip6stat_inc(ip6s_ofragments);
error = ifp->if_output(ifp, m, sin6tosa(dst),