slirp: replace a DEBUG block with WITH_ICMP_ERROR_MSG
commitd0ea546caf76734e461f9b4124a2210e3afc23a6
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 21 Nov 2018 22:06:34 +0000 (22 02:06 +0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 13 Jan 2019 23:44:29 +0000 (14 00:44 +0100)
treedf513cd038e809ecf7461f1d631f98f50ccb41eb
parent717615187496d503132c6e283b2b68553ecf9a5d
slirp: replace a DEBUG block with WITH_ICMP_ERROR_MSG

icmp_send_error() doesnt actually log messages when DEBUG is enabled.
Let's use a different define that describes better the tweaked
behaviour of the function, and avoid uncompiled code.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/ip_icmp.c