summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/raw_ip6.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-03-14 11:18:37 +0000
committermpi <mpi@openbsd.org>2013-03-14 11:18:37 +0000
commitf6b583ae338616fac004b1cfc55ec127c55729da (patch)
tree839fd2c42ef313410024bcf4e2246df39915b3d4 /sys/netinet6/raw_ip6.c
parenttedu faithd(8), suggested by todd@ some weeks ago after a submission by (diff)
downloadwireguard-openbsd-f6b583ae338616fac004b1cfc55ec127c55729da.tar.xz
wireguard-openbsd-f6b583ae338616fac004b1cfc55ec127c55729da.zip
tedu faith(4), suggested by todd@ some weeks ago after a submission by
dhill. ok krw@, mikeb@, tedu@ (implicit)
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r--sys/netinet6/raw_ip6.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
index 5324603a6cf..75de86c75de 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ip6.c,v 1.46 2013/03/04 14:42:25 bluhm Exp $ */
+/* $OpenBSD: raw_ip6.c,v 1.47 2013/03/14 11:18:37 mpi Exp $ */
/* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */
/*
@@ -96,8 +96,6 @@
#include <sys/stdarg.h>
-#include "faith.h"
-
/*
* Raw interface to IP6 protocol.
*/
@@ -154,16 +152,6 @@ rip6_input(struct mbuf **mp, int *offp, int proto)
rip6stat.rip6s_ipackets++;
-#if defined(NFAITH) && 0 < NFAITH
- if (m->m_pkthdr.rcvif) {
- if (m->m_pkthdr.rcvif->if_type == IFT_FAITH) {
- /* send icmp6 host unreach? */
- m_freem(m);
- return IPPROTO_DONE;
- }
- }
-#endif
-
/* Be proactive about malicious use of IPv4 mapped address */
if (IN6_IS_ADDR_V4MAPPED(&ip6->ip6_src) ||
IN6_IS_ADDR_V4MAPPED(&ip6->ip6_dst)) {