Don't report errors when we UDP_WRITE fails with a status of 1.

This commit is contained in:
Paul Saab 2000-04-27 03:23:50 +00:00
parent 98a1f447bb
commit e7fd6f003e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59673

View File

@ -496,7 +496,9 @@ sendudp(struct iodesc *h, void *pkt, size_t len)
delay(1000);
#endif
if (udpwrite_p->status != 0) {
printf("sendudp failed %x\n", udpwrite_p->status);
/* XXX: This happens a lot. It shouldn't. */
if (udpwrite_p->status != 1)
printf("sendudp failed %x\n", udpwrite_p->status);
return -1;
}
return len;