blob: 6432fa8643d7e10848f3cbbc228fd0460483e8cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- nmicmpd.c.orig Tue Feb 6 15:34:03 2001
+++ nmicmpd.c Tue Feb 6 15:44:53 2001
@@ -924,6 +924,14 @@
if (rc != size) {
if (rc < 0) {
+ /*
+ * If we get an EHOSTDOWN error, this probably means that
+ * the the pending ARP entry has timed out for the host.
+ * Just ignore the error, and attempt a normal retry.
+ */
+ if (errno == EHOSTDOWN)
+ return 0;
+
PosixError("sendto failed");
}
job->status = ICMP_STATUS_GENERROR;
|