Disable option as default

This commit is contained in:
Markus Moeller 2021-09-03 17:50:25 +01:00
parent 5a892970ed
commit e5e633e45a
2 changed files with 3 additions and 3 deletions

View File

@ -105,8 +105,8 @@ dnl Include support for reverse dns to match IP network/mask ?
AH_TEMPLATE([RDNS_ENABLE], AH_TEMPLATE([RDNS_ENABLE],
[Include support for reverse dns to match IP network/mask.]) [Include support for reverse dns to match IP network/mask.])
TP_ARG_ENABLE(rdns, TP_ARG_ENABLE(rdns,
[Enable support for reverse dns to match IP network/mask (default is YES)], [Enable support for reverse dns to match IP network/mask (default is NO)],
yes) no)
if test x"$rdns__enabled" = x"yes"; then if test x"$rdns__enabled" = x"yes"; then
AC_DEFINE(RDNS_ENABLE) AC_DEFINE(RDNS_ENABLE)
fi fi

View File

@ -176,7 +176,7 @@ static int reverse_dns_numeric_match(const char *ip, const struct hostspec *h)
ressave = res; ressave = res;
if (ret != 0) { if (ret != 0) {
if (ret == EAI_SYSTEM) if (ret == EAI_SYSTEM)
log_message (LOG_ERR, "Could not retrieve address info for %s : %s",ip,strerror(errno)); log_message (LOG_ERR, "Could not retrieve address info for %s : %s",ip,strerror(errno));
else else