]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
I think dstdomain should lookup dst_addr, not src_addr
authorwessels <>
Fri, 8 Jul 2005 03:22:52 +0000 (03:22 +0000)
committerwessels <>
Fri, 8 Jul 2005 03:22:52 +0000 (03:22 +0000)
src/ACLDestinationDomain.cc

index 45042b1eab8127a5c8f4aa75da92b427a42037eb..8b90f7df8c8b9cc3dd4a9e969c9d0b26f11fadc1 100644 (file)
@@ -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