summaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-23 22:22:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-23 22:22:45 +0000
commit6e13bdce9dd32ccf457c4c1bd044be63efb569b6 (patch)
treea158bedf914b3135082f17d011483cbbc95e7af1 /sys/netinet/raw_ip.c
parent6f459ae12d184272e7ef7b3f547537bbf501f31a (diff)
use the correct idiom for NFOO things which come from "foo.h" files
ok dlg
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index b625773d447..032b83e0a27 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ip.c,v 1.45 2008/06/14 02:17:27 jsing Exp $ */
+/* $OpenBSD: raw_ip.c,v 1.46 2008/10/23 22:22:44 deraadt Exp $ */
/* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */
/*
@@ -134,7 +134,7 @@ rip_input(struct mbuf *m, ...)
#endif
if (inp->inp_ip.ip_p && inp->inp_ip.ip_p != ip->ip_p)
continue;
-#if NPF
+#if NPF > 0
if (m->m_pkthdr.pf.flags & PF_TAG_DIVERTED) {
struct pf_divert *divert;