From c1468e7199fb78fb220b92a44c53a36f0b988a3d Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 2 May 2010 22:14:12 +1200 Subject: [PATCH] ACL Tag requires request not conn This makes the tag ACL type work in most access lists. Connection details are not always available and not actually needed by tag. --- src/acl/Tag.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acl/Tag.cc b/src/acl/Tag.cc index 5641e6e301..ef4ac00695 100644 --- a/src/acl/Tag.cc +++ b/src/acl/Tag.cc @@ -43,7 +43,7 @@ int ACLTagStrategy::match (ACLData * &data, ACLFilledChecklist *checklist) { - if (checklist->conn() != NULL) + if (checklist->request != NULL) return data->match (checklist->request->tag.termedBuf()); return 0; } -- 2.47.3