mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 17:40:40 -04:00
Due to radical development of wget, KAME patch would always not be released in short. This port will happily retire when wget aquires ability to speak IPv6 itself.
11 lines
323 B
C
11 lines
323 B
C
--- src/host.c.orig Thu Aug 9 10:11:56 2001
|
|
+++ src/host.c Thu Aug 9 10:12:27 2001
|
|
@@ -106,7 +106,7 @@
|
|
|
|
hp = gethostbyname2(name, af);
|
|
if (!hp) {
|
|
- if (inet_pton(af, name, addr) != -1) {
|
|
+ if (inet_pton(af, name, addr) == 1) {
|
|
switch (af) {
|
|
case AF_INET:
|
|
socksize = sizeof (struct sockaddr_in);
|