mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
15 lines
510 B
Plaintext
15 lines
510 B
Plaintext
$NetBSD: patch-af,v 1.11 2007/04/26 06:26:27 jnemeth Exp $
|
|
|
|
--- sendmail/conf.c.orig 2007-04-03 14:32:29.000000000 -0700
|
|
+++ sendmail/conf.c
|
|
@@ -4393,7 +4393,8 @@ sm_gethostbyaddr(addr, len, type)
|
|
|
|
#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);
|