From: wessels <> Date: Fri, 8 Jul 2005 03:22:52 +0000 (+0000) Subject: I think dstdomain should lookup dst_addr, not src_addr X-Git-Tag: SQUID_3_0_PRE4~706 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c52f2002656ad20422b1d8683b5ae1166a4223ae;p=thirdparty%2Fsquid.git I think dstdomain should lookup dst_addr, not src_addr --- diff --git a/src/ACLDestinationDomain.cc b/src/ACLDestinationDomain.cc index 45042b1eab..8b90f7df8c 100644 --- a/src/ACLDestinationDomain.cc +++ b/src/ACLDestinationDomain.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLDestinationDomain.cc,v 1.11 2005/05/09 01:41:25 hno Exp $ + * $Id: ACLDestinationDomain.cc,v 1.12 2005/07/07 21:22:52 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -53,7 +53,7 @@ void DestinationDomainLookup::checkForAsync(ACLChecklist *checklist)const { checklist->asyncInProgress(true); - fqdncache_nbgethostbyaddr(checklist->src_addr, LookupDone, checklist); + fqdncache_nbgethostbyaddr(checklist->dst_addr, LookupDone, checklist); } void