diff options
author | Yann Bordenave <meow@meowstars.org> | 2016-03-15 10:31:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-15 10:35:02 +0100 |
commit | de40abfecfe17f79870a66acfc1f87a53fc066ca (patch) | |
tree | 60f52f09ae1b597eddf3d31dd8c028752275d2ce /slirp/ip6_input.c | |
parent | 0d6ff71ae3c7ac3a446d295ef71884a05093b37c (diff) |
slirp: Fix ICMP error sending
Disambiguation : icmp_error is renamed into icmp_send_error, since it
doesn't manage errors, but only sends ICMP Error messages.
Signed-off-by: Yann Bordenave <meow@meowstars.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'slirp/ip6_input.c')
-rw-r--r-- | slirp/ip6_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/ip6_input.c b/slirp/ip6_input.c index add9e6a73a..ca0007c14c 100644 --- a/slirp/ip6_input.c +++ b/slirp/ip6_input.c @@ -41,7 +41,7 @@ void ip6_input(struct mbuf *m) /* check ip_ttl for a correct ICMP reply */ if (ip6->ip_hl == 0) { - /*icmp_error(m, ICMP_TIMXCEED,ICMP_TIMXCEED_INTRANS, 0,"ttl");*/ + /*icmp_send_error(m, ICMP_TIMXCEED,ICMP_TIMXCEED_INTRANS, 0,"ttl");*/ goto bad; } |