summaryrefslogtreecommitdiff
path: root/mail/sendmail/patches/patch-af
blob: 255dd16b58b367ad3456c3eb5b5dff6b0948931b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-af,v 1.7 2001/02/28 03:52:19 itojun Exp $

--- sendmail/conf.c.orig	Wed Feb 28 05:48:21 2001
+++ sendmail/conf.c	Wed Feb 28 12:48:30 2001
@@ -4546,7 +4546,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);