]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/jwhois-4.0-multi-homed.patch
Update libvirt to 2.1
[ipfire-2.x.git] / src / patches / jwhois-4.0-multi-homed.patch
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;