X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/4964e9326687129640fe06f61863e3ae24a43de9..a5a28604d8bf14b6521ed3ab028872b9cafd1b24:/src/src/routers/dnslookup.c diff --git a/src/src/routers/dnslookup.c b/src/src/routers/dnslookup.c index 1eb215412..b5ef0478b 100644 --- a/src/src/routers/dnslookup.c +++ b/src/src/routers/dnslookup.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/routers/dnslookup.c,v 1.2 2005/01/04 10:00:44 ph10 Exp $ */ +/* $Cambridge: exim/src/src/routers/dnslookup.c,v 1.3 2005/01/11 15:51:03 ph10 Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -305,7 +305,7 @@ for (;;) else { addr->message = US"all relevant MX records point to non-existent hosts"; - if (!allow_mx_to_ip && string_is_ip_address(h.name, NULL)) + if (!allow_mx_to_ip && string_is_ip_address(h.name, NULL) > 0) { addr->user_message = string_sprintf("It appears that the DNS operator for %s\n"