diff options
author | mvs <mvs@openbsd.org> | 2021-02-23 11:43:40 +0000 |
---|---|---|
committer | mvs <mvs@openbsd.org> | 2021-02-23 11:43:40 +0000 |
commit | 254bd8f22547979836e70833bca874f274e40b6a (patch) | |
tree | 8c60661c864ec71fcb54d5b27f2ef51a5118bbc6 /sys/net/pf.c | |
parent | make a start on transparent ipsec interception, based on bridge(4). (diff) | |
download | wireguard-openbsd-254bd8f22547979836e70833bca874f274e40b6a.tar.xz wireguard-openbsd-254bd8f22547979836e70833bca874f274e40b6a.zip |
Use NULL instead of 0 in `m_nextpkt' assignment.
ok deraadt@ dlg@
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r-- | sys/net/pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index d1b1eb3442a..fc76da389cf 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $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 @@ -6087,7 +6087,7 @@ pf_route(struct pf_pdesc *pd, struct pf_state *s) 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 |