diff options
Diffstat (limited to 'slirp/tcp_input.c')
-rw-r--r-- | slirp/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c index 42f02b3e65..8729d76a7f 100644 --- a/slirp/tcp_input.c +++ b/slirp/tcp_input.c @@ -681,7 +681,7 @@ findso: goto cont_input; } - if(tcp_fconnect(so) == -1 && errno != EINPROGRESS) { + if((tcp_fconnect(so) == -1) && (errno != EINPROGRESS) && (errno != EWOULDBLOCK)) { u_char code=ICMP_UNREACH_NET; DEBUG_MISC((dfd," tcp fconnect errno = %d-%s\n", errno,strerror(errno))); |