$NetBSD: patch-af,v 1.1.1.1 2001/04/15 01:20:00 itojun Exp $

--- sendmail/conf.c.orig	Thu Mar  8 09:07:50 2001
+++ sendmail/conf.c	Fri Mar 16 09:24:10 2001
@@ -4237,7 +4237,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);
