summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-16 21:14:22 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-07-16 21:14:22 +0000
commitad552c9859c9eaf2501ba4067d78c1ae67c6778e (patch)
treecc968e376cffa0d107430a82a790947e2f458f0c /sys/netinet/ip_input.c
parentb1284223fc01a39cd85683dbfe83dc9f22c0f35a (diff)
Kill IP_ROUTETOETHER.
This pseudo-option is a hack to support return-rst on bridge(4). It passes Ethernet information via a "struct route" through ip_output(). "struct route" is slowly dying... ok claudio@, benno@
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 70670c0ab1c..c9019f38d6a 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.251 2015/06/16 11:09:40 mpi Exp $ */
+/* $OpenBSD: ip_input.c,v 1.252 2015/07/16 21:14:21 mpi Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -315,7 +315,7 @@ ipv4_input(struct mbuf *m)
* Packet filter
*/
pfrdr = ip->ip_dst.s_addr;
- if (pf_test(AF_INET, PF_IN, ifp, &m, NULL) != PF_PASS)
+ if (pf_test(AF_INET, PF_IN, ifp, &m) != PF_PASS)
goto bad;
if (m == NULL)
return;