aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip6_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/ip6_input.c')
-rw-r--r--slirp/ip6_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slirp/ip6_input.c b/slirp/ip6_input.c
index 9ca6d32b1a..c0b11e73cd 100644
--- a/slirp/ip6_input.c
+++ b/slirp/ip6_input.c
@@ -55,7 +55,8 @@ void ip6_input(struct mbuf *m)
*/
switch (ip6->ip_nh) {
case IPPROTO_TCP:
- icmp6_send_error(m, ICMP6_UNREACH, ICMP6_UNREACH_NO_ROUTE);
+ NTOHS(ip6->ip_pl);
+ tcp_input(m, sizeof(struct ip6), (struct socket *)NULL, AF_INET6);
break;
case IPPROTO_UDP:
udp6_input(m);