Skip to content

Commit 3a70a07

Browse files
committed
ENET* are temporary failures
1 parent 3501215 commit 3a70a07

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/lib/bio/fd_errno.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,12 @@ case EPIPE:
5454
* @todo - do this only for connected UDP sockets.
5555
*/
5656
case EMSGSIZE:
57-
return fr_bio_error(IO);
5857
#endif
5958

59+
case ENETDOWN:
60+
case ENETUNREACH:
61+
return fr_bio_error(IO);
62+
6063
default:
6164
/*
6265
* Some other error, it's fatal.

0 commit comments

Comments
 (0)