summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index aeeb13f569f..cd63922fe2b 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.223 2008/10/10 20:03:42 dhill Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.224 2008/11/02 10:37:29 claudio Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -342,21 +342,6 @@ tcp6_input(struct mbuf **mp, int *offp, int proto)
}
#endif
- /*
- * draft-itojun-ipv6-tcp-to-anycast
- * better place to put this in?
- */
- if (m->m_flags & M_ANYCAST6) {
- if (m->m_len >= sizeof(struct ip6_hdr)) {
- struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
- icmp6_error(m, ICMP6_DST_UNREACH,
- ICMP6_DST_UNREACH_ADDR,
- (caddr_t)&ip6->ip6_dst - (caddr_t)ip6);
- } else
- m_freem(m);
- return IPPROTO_DONE;
- }
-
tcp_input(m, *offp, proto);
return IPPROTO_DONE;
}