summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-06-21 19:26:03 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-06-21 19:26:03 +0000
commitd953b7a4146ca0af5eaa7c4e5e2f4da2ffda38a5 (patch)
tree4305fbba15244f3863add39e5aab01b29ade0691 /sys/netinet/ip_output.c
parent5d2f68f5a3f30a3832a91389613065ccf8130c15 (diff)
Get rid of pf_test_eh() wrapper.
ok cedric@ henning@
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 4d7ac283683..701134d30cf 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.164 2004/06/21 18:34:52 markus Exp $ */
+/* $OpenBSD: ip_output.c,v 1.165 2004/06/21 19:26:01 mcbride Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -592,7 +592,7 @@ sendit:
*/
#if NPF > 0
- if (pf_test(PF_OUT, &encif[0].sc_if, &m) != PF_PASS) {
+ if (pf_test(PF_OUT, &encif[0].sc_if, &m, NULL) != PF_PASS) {
error = EHOSTUNREACH;
splx(s);
m_freem(m);
@@ -694,7 +694,7 @@ sendit:
* Packet filter
*/
#if NPF > 0
- if (pf_test(PF_OUT, ifp, &m) != PF_PASS) {
+ if (pf_test(PF_OUT, ifp, &m, NULL) != PF_PASS) {
error = EHOSTUNREACH;
m_freem(m);
goto done;