diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-07-16 21:14:22 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-07-16 21:14:22 +0000 |
commit | ad552c9859c9eaf2501ba4067d78c1ae67c6778e (patch) | |
tree | cc968e376cffa0d107430a82a790947e2f458f0c /sys/netinet/ip_input.c | |
parent | b1284223fc01a39cd85683dbfe83dc9f22c0f35a (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.c | 4 |
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; |