summaryrefslogtreecommitdiff
path: root/mail/sendmail812/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail812/patches/patch-af')
-rw-r--r--mail/sendmail812/patches/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/sendmail812/patches/patch-af b/mail/sendmail812/patches/patch-af
new file mode 100644
index 00000000000..73a1eba9ca6
--- /dev/null
+++ b/mail/sendmail812/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+
+--- sendmail/conf.c.orig Sat Aug 17 02:56:01 2002
++++ sendmail/conf.c Mon Sep 16 15:13:22 2002
+@@ -4352,7 +4352,8 @@
+
+ #if NETINET6
+ if (type == AF_INET6 &&
+- IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr))
++ (IN6_IS_ADDR_UNSPECIFIED((struct in6_addr *) addr) ||
++ IN6_IS_ADDR_LINKLOCAL((struct in6_addr *) addr)))
+ {
+ /* Avoid reverse lookup for IPv6 unspecified address */
+ SM_SET_H_ERRNO(HOST_NOT_FOUND);