diff options
author | mvs <mvs@cvs.openbsd.org> | 2021-02-23 11:43:42 +0000 |
---|---|---|
committer | mvs <mvs@cvs.openbsd.org> | 2021-02-23 11:43:42 +0000 |
commit | 576d89a739a6c2709fd34486ea54b923e2802f7d (patch) | |
tree | 8fe10c9d9b6da6dcf3ac5325039f140008a8601a /sys/netinet | |
parent | 21a5243843fac6353f746e40c882bfabf580d043 (diff) |
Use NULL instead of 0 in `m_nextpkt' assignment.
ok deraadt@ dlg@
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 374c768cb30..306504fc2f6 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $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 $ */ /* @@ -518,7 +518,7 @@ sendit: 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 |