diff options
author | 2015-07-16 21:14:21 +0000 | |
---|---|---|
committer | 2015-07-16 21:14:21 +0000 | |
commit | 1f52aa9f8c42c356774913c6b5758f047e17186e (patch) | |
tree | f92900b77269cbb658158d45c0f47fd5bc13cd20 /sys/netinet6/ip6_input.c | |
parent | Fix a backward compare in boot argument parsing, and clarify a comment that (diff) | |
download | wireguard-openbsd-1f52aa9f8c42c356774913c6b5758f047e17186e.tar.xz wireguard-openbsd-1f52aa9f8c42c356774913c6b5758f047e17186e.zip |
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/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index feb188e235f..e82b6e5cc3f 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_input.c,v 1.143 2015/06/16 11:09:40 mpi Exp $ */ +/* $OpenBSD: ip6_input.c,v 1.144 2015/07/16 21:14:21 mpi Exp $ */ /* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */ /* @@ -333,7 +333,7 @@ ip6_input(struct mbuf *m) * Packet filter */ odst = ip6->ip6_dst; - if (pf_test(AF_INET6, PF_IN, ifp, &m, NULL) != PF_PASS) + if (pf_test(AF_INET6, PF_IN, ifp, &m) != PF_PASS) goto bad; if (m == NULL) return; |