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],
 | 
			
		||||
	    [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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user