/*
- * $Id: comm.cc,v 1.49 1996/07/26 20:34:12 wessels Exp $
+ * $Id: comm.cc,v 1.50 1996/08/12 23:21:43 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
}
xmemcpy(&to_addr.sin_addr, hp->h_addr, hp->h_length);
to_addr.sin_port = htons(dest_port);
- fqdncache_gethostbyaddr(to_addr.sin_addr, FQDN_LOOKUP_IF_MISS);
+ if (Config.Log.log_fqdn)
+ fqdncache_gethostbyaddr(to_addr.sin_addr, FQDN_LOOKUP_IF_MISS);
return comm_connect_addr(sock, &to_addr);
}