} else if (!checklist->request->flags.destinationIpLookedUp) {
/* No entry in cache, lookup not attempted */
- debugs(28, 3, "can't yet compare '" << AclMatchedName << "' ACL for " << checklist->request->url.host());
+ debugs(28, 3, "can't yet compare '" << name << "' ACL for " << checklist->request->url.host());
if (checklist->goAsync(ACLDestinationIP::StartLookup, *this))
return -1;
// else fall through to noaddr match, hiding the lookup failure (XXX)
}
if (lookupBanned) {
- debugs(28, 3, "No-lookup DNS ACL '" << AclMatchedName << "' for " << checklist->request->url.host());
+ debugs(28, 3, "No-lookup DNS ACL '" << name << "' for " << checklist->request->url.host());
return 0;
}
/* do we already have the rDNS? match on it if we do. */
if (checklist->dst_rdns) {
- debugs(28, 3, "'" << AclMatchedName << "' match with stored rDNS '" << checklist->dst_rdns << "' for " << checklist->request->url.host());
+ debugs(28, 3, "'" << name << "' match with stored rDNS '" << checklist->dst_rdns << "' for " << checklist->request->url.host());
return data->match(checklist->dst_rdns);
}
checklist->dst_rdns = xstrdup(fqdn);
return data->match(fqdn);
} else if (!checklist->destinationDomainChecked()) {
- // TODO: Using AclMatchedName here is not OO correct. Should find a way to the current acl
- debugs(28, 3, "Can't yet compare '" << AclMatchedName << "' ACL for " << checklist->request->url.host());
+ debugs(28, 3, "Can't yet compare '" << name << "' ACL for " << checklist->request->url.host());
if (checklist->goAsync(StartLookup, *this))
return -1;
// else fall through to "none" match, hiding the lookup failure (XXX)
if (lookupBanned) {
if (!checklist->request->url.hostIsNumeric()) {
- debugs(28, 3, "No-lookup DNS ACL '" << AclMatchedName << "' for " << checklist->request->url.host());
+ debugs(28, 3, "No-lookup DNS ACL '" << name << "' for " << checklist->request->url.host());
return 0;
}
if (fqdn) {
return data->match(fqdn);
} else if (!checklist->sourceDomainChecked()) {
- // TODO: Using AclMatchedName here is not OO correct. Should find a way to the current acl
- debugs(28, 3, "aclMatchAcl: Can't yet compare '" << AclMatchedName << "' ACL for '" << checklist->src_addr << "'");
+ debugs(28, 3, "aclMatchAcl: Can't yet compare '" << name << "' ACL for '" << checklist->src_addr << "'");
if (checklist->goAsync(StartLookup, *this))
return -1;
// else fall through to "none" match, hiding the lookup failure (XXX)