Index: contrib/sendmail/src/conf.c =================================================================== --- contrib/sendmail/src/conf.c +++ contrib/sendmail/src/conf.c @@ -5269,9 +5269,7 @@ isloopback(sa) SOCKADDR sa; { - /* XXX how to correctly extract IN_LOOPBACKNET part? */ -#define SM_IS_IPV4_LOOP(a) (((ntohl(a) & IN_CLASSA_NET) \ - >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) +#define SM_IS_IPV4_LOOP(a) (IN_LOOPBACK(ntohl(a))) #if NETINET6 if (sa.sa.sa_family == AF_INET6 && IN6_IS_ADDR_V4MAPPED(&sa.sin6.sin6_addr) &&