diff --git a/configure.ac b/configure.ac index 88c763a..89d1c0c 100644 --- a/configure.ac +++ b/configure.ac @@ -105,8 +105,8 @@ dnl Include support for reverse dns to match IP network/mask ? AH_TEMPLATE([RDNS_ENABLE], [Include support for reverse dns to match IP network/mask.]) TP_ARG_ENABLE(rdns, - [Enable support for reverse dns to match IP network/mask (default is YES)], - yes) + [Enable support for reverse dns to match IP network/mask (default is NO)], + no) if test x"$rdns__enabled" = x"yes"; then AC_DEFINE(RDNS_ENABLE) fi diff --git a/src/hostspec.c b/src/hostspec.c index 6a94400..52f4a00 100644 --- a/src/hostspec.c +++ b/src/hostspec.c @@ -176,7 +176,7 @@ static int reverse_dns_numeric_match(const char *ip, const struct hostspec *h) ressave = res; - if (ret != 0) { + if (ret != 0) { if (ret == EAI_SYSTEM) log_message (LOG_ERR, "Could not retrieve address info for %s : %s",ip,strerror(errno)); else