Disable option as default
This commit is contained in:
parent
5a892970ed
commit
e5e633e45a
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user