X-Git-Url: http://dolda2000.com/gitweb/?p=icmp-dn.git;a=blobdiff_plain;f=icmpdnd.c;h=2b59175a6ff56a1c421d8803a68a0ff7aff20e5b;hp=3fa1792480861bee2fafa2000b4ba20e4eae539e;hb=1ac6ec0ce024a92a3ee61a1a0530613b1e335aa8;hpb=b39da562da7f3a29acb6ba360939ebc4bce4cfdc diff --git a/icmpdnd.c b/icmpdnd.c index 3fa1792..2b59175 100644 --- a/icmpdnd.c +++ b/icmpdnd.c @@ -198,10 +198,8 @@ int main(int argc, char **argv) /* XXX: The correct source address needs to be filled in from * the request's destination address. */ ret = sendto(s, buf, datalen + sizeof(rep), 0, (struct sockaddr *)&name, namelen); - if(ret < 0) { + if(ret < 0) syslog(LOG_WARNING, "error in sending reply: %m"); - exit(1); - } } close(s);