summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 02:03:19 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-25 02:03:19 +0000
commit43440c2cdd5c37830e9500428b76247ca66fbd2e (patch)
tree1c2cabe2639744796dbfaedbec3e9a5255e5e1c7 /sys/netinet/ip_output.c
parentad8f9ae7dbaa959c90e908ad3c5fa381772bcc5e (diff)
Remove unnecessary temporary variable.
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 2e548f4552a..686960487af 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.121 2001/06/25 01:59:29 angelos Exp $ */
+/* $OpenBSD: ip_output.c,v 1.122 2001/06/25 02:03:18 angelos Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -573,9 +573,8 @@ sendit:
*/
#if NPF > 0
{
- void *ifp = (void *)&encif[0].sc_if;
struct mbuf *m1 = m;
- if (pf_test(PF_OUT, ifp, &m1) != PF_PASS) {
+ if (pf_test(PF_OUT, &encif[0].sc_if, &m1) != PF_PASS) {
error = EHOSTUNREACH;
splx(s);
m_freem(m1);