aboutsummaryrefslogtreecommitdiff
path: root/www/links/files
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2011-10-20 12:29:38 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2011-10-20 12:29:38 +0000
commit1adc76bd744258c0cb799a0e21a9a48df87dffff (patch)
tree754964d14ccdd0a19069c1896ccec6c6f36542d0 /www/links/files
parent901babd7fdfc91d927ebe0aacf7ca151a6ca31e4 (diff)
Notes
Diffstat (limited to 'www/links/files')
-rw-r--r--www/links/files/extra-ipv6.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/links/files/extra-ipv6.diff b/www/links/files/extra-ipv6.diff
new file mode 100644
index 000000000000..f7093faace76
--- /dev/null
+++ b/www/links/files/extra-ipv6.diff
@@ -0,0 +1,19 @@
+--- links-2.2-ipv6-2.diff.orig 2011-10-20 16:20:13.000000000 +0400
++++ links-2.2-ipv6-2.diff 2011-10-20 16:21:37.000000000 +0400
+@@ -207,7 +207,7 @@
+ if (!*name) return -1;
+ for (n = name; *n; n++) if (*n != '.' && (*n < '0' || *n > '9')) goto nogethostbyaddr;
+ n = name;
+-@@ -73,26 +73,34 @@ int do_real_lookup(unsigned char *name, ip__address *host)
++@@ -63,27 +63,35 @@ int do_real_lookup(unsigned char *name,
+ if (get_addr_byte(&n, ((unsigned char *)host + 3), 0)) goto skip_addr;
+ return 0;
+ skip_addr:
+@@ -234,6 +234,7 @@
+ return 0;
+ }
+
++ #ifndef NO_ASYNC_LOOKUP
+ static void lookup_fn(unsigned char *name, int h)
+ {
+ - ip__address host;