artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d0ee1
)
protect a pf specific function with the correct #if. Fixes ramdisk building.
author
phessler
<phessler@openbsd.org>
Tue, 19 Jul 2016 15:57:13 +0000
(15:57 +0000)
committer
phessler
<phessler@openbsd.org>
Tue, 19 Jul 2016 15:57:13 +0000
(15:57 +0000)
(we got lucky before, because the variable that used to be checked was
always available)
OK bluhm@
sys/netinet6/ip6_input.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_input.c
b/sys/netinet6/ip6_input.c
index
d9dc783
..
0a8cca2
100644
(file)
--- a/
sys/netinet6/ip6_input.c
+++ b/
sys/netinet6/ip6_input.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_input.c,v 1.16
6 2016/07/19 09:23:51 bluhm Exp $
*/
+/* $OpenBSD: ip6_input.c,v 1.16
7 2016/07/19 15:57:13 phessler Exp $
*/
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@
-375,10
+375,12
@@
ip6_input(struct mbuf *m)
goto hbhcheck;
}
+#if NPF > 0
if (pf_ouraddr(m) == 1) {
ours = 1;
goto hbhcheck;
}
+#endif
/*
* Multicast check