]>
Commit | Line | Data |
---|---|---|
c5e5324c MT |
1 | diff -up jwhois-4.0/src/utils.c.orig jwhois-4.0/src/utils.c |
2 | --- jwhois-4.0/src/utils.c.orig 2010-09-29 16:19:24.453608330 +0200 | |
3 | +++ jwhois-4.0/src/utils.c 2010-09-29 16:20:10.686608189 +0200 | |
4 | @@ -292,7 +292,10 @@ make_connect(const char *host, int port) | |
5 | if (error < 0 || retval) | |
6 | { | |
7 | close (sockfd); | |
8 | - return -1; | |
9 | + if (retval == ENETUNREACH) | |
10 | + continue; | |
11 | + else | |
12 | + return -1; | |
13 | } | |
14 | ||
15 | break; |