projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99787f6
)
slirp: send icmp6 errors when UDP send failed
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Sun, 20 Mar 2016 13:52:32 +0000
(14:52 +0100)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Tue, 22 Mar 2016 21:52:09 +0000
(22:52 +0100)
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
slirp/udp6.c
patch
|
blob
|
history
diff --git
a/slirp/udp6.c
b/slirp/udp6.c
index
60a91c9
..
a23026f
100644
(file)
--- a/
slirp/udp6.c
+++ b/
slirp/udp6.c
@@
-113,8
+113,7
@@
void udp6_input(struct mbuf *m)
m->m_data -= iphlen;
*ip = save_ip;
DEBUG_MISC((dfd, "udp tx errno = %d-%s\n", errno, strerror(errno)));
- /* TODO: ICMPv6 error */
- /*icmp_error(m, ICMP_UNREACH,ICMP_UNREACH_NET, 0,strerror(errno));*/
+ icmp6_send_error(m, ICMP6_UNREACH, ICMP6_UNREACH_NO_ROUTE);
goto bad;
}