diff options
| -rw-r--r-- | checkalias.c | 24 | 
1 files changed, 12 insertions, 12 deletions
diff --git a/checkalias.c b/checkalias.c index b13f1296..317cd2d1 100644 --- a/checkalias.c +++ b/checkalias.c @@ -133,18 +133,18 @@ int is_host_alias(const char *name, struct query *ctl)  	if (strcasecmp(ctl->server.truename, he->h_name) == 0)  	    goto match;          else if (((he_st = gethostbyname(ctl->server.truename)) != (struct hostent *)NULL) && ctl->server.checkalias) -			{ -				if (outlevel == O_VERBOSE) -					error(0, 0, "Checking if %s is really the same node as %s",ctl->server.truename,name); -				if (is_ip_alias(ctl->server.truename,name) == TRUE) -					{ -					if (outlevel == O_VERBOSE) -					error(0, 0, "Yes, their IP addresses match"); -					goto match; -					} -				if (outlevel == O_VERBOSE) -					error(0, 0, "No, their IP addresses don't match"); -			} +	{ +	    if (outlevel == O_VERBOSE) +		error(0, 0, "Checking if %s is really the same node as %s",ctl->server.truename,name); +	    if (is_ip_alias(ctl->server.truename,name) == TRUE) +	    { +		if (outlevel == O_VERBOSE) +		    error(0, 0, "Yes, their IP addresses match"); +		goto match; +	    } +	    if (outlevel == O_VERBOSE) +		error(0, 0, "No, their IP addresses don't match"); +	}  	else  	    return(FALSE);      }  | 
