Don't report errors when we UDP_WRITE fails with a status of 1.
This commit is contained in:
parent
98a1f447bb
commit
e7fd6f003e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59673
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user