FreeBSD Bugzilla – Attachment 45353 Details for
Bug 69941
ripe-whois doesn't work without IPv6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ripe-whois.patch.txt
ripe-whois.patch.txt (text/plain), 1020 bytes, created by
lerik
on 2004-08-05 17:02:43 UTC
(
hide
)
Description:
ripe-whois.patch.txt
Filename:
MIME Type:
Creator:
lerik
Created:
2004-08-05 17:02:43 UTC
Size:
1020 bytes
patch
obsolete
>diff -ruN /usr/ports/net/ripe-whois/Makefile ./Makefile >--- /usr/ports/net/ripe-whois/Makefile Wed Feb 25 22:50:53 2004 >+++ ./Makefile Thu Aug 5 17:15:15 2004 >@@ -7,6 +7,7 @@ > > PORTNAME= ripe-whois > PORTVERSION= 3.1.1v6 >+PORTREVISION= 1 > CATEGORIES= net ipv6 > MASTER_SITES= ftp://ftp.ripe.net/tools/ > >diff -ruN /usr/ports/net/ripe-whois/files/patch-whois3.c ./files/patch-whois3.c >--- /usr/ports/net/ripe-whois/files/patch-whois3.c Thu Jan 1 01:00:00 1970 >+++ ./files/patch-whois3.c Thu Aug 5 17:14:53 2004 >@@ -0,0 +1,16 @@ >+--- whois3.c.orig Thu Aug 5 16:41:00 2004 >++++ whois3.c Thu Aug 5 16:59:16 2004 >+@@ -130,7 +130,12 @@ >+ /* create the socket */ >+ fd = socket(dest.ss_family, SOCK_STREAM, 0); >+ if (fd < 0) >+- fatal("cannot create the socket: %s", strerror(errno)); >++ { >++ if (errno == EPROTONOSUPPORT) >++ continue; >++ else >++ fatal("cannot create the socket: %s", strerror(errno)); >++ } >+ >+ /* perform the connection */ >+ err = connect(fd, (struct sockaddr *) &dest, destlen);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 69941
: 45353
Working