aboutsummaryrefslogtreecommitdiffstats
path: root/slirp-android
diff options
context:
space:
mode:
Diffstat (limited to 'slirp-android')
-rw-r--r--slirp-android/tcp_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slirp-android/tcp_input.c b/slirp-android/tcp_input.c
index 9ecd2eb..c70e3f2 100644
--- a/slirp-android/tcp_input.c
+++ b/slirp-android/tcp_input.c
@@ -673,7 +673,8 @@ findso:
goto cont_input;
}
- if((tcp_fconnect(so) == -1) && (errno != EINPROGRESS) && (errno != EWOULDBLOCK)) {
+ if((tcp_fconnect(so) == -1) && (errno != EINPROGRESS) &&
+ (errno != EWOULDBLOCK) && (errno != EAGAIN)) {
u_char code=ICMP_UNREACH_NET;
DEBUG_MISC((dfd," tcp fconnect errno = %d-%s\n",
errno,errno_str));