]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/acl/PeerName.cc
2 * Copyright (C) 1996-2016 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "acl/Checklist.h"
11 #include "acl/PeerName.h"
12 #include "acl/RegexData.h"
13 #include "acl/StringData.h"
14 #include "CachePeer.h"
17 ACLPeerNameStrategy::match (ACLData
<MatchType
> * &data
, ACLFilledChecklist
*checklist
, ACLFlags
&)
19 if (!checklist
->dst_peer_name
.isEmpty())
20 return data
->match(checklist
->dst_peer_name
.c_str());
25 ACLPeerNameStrategy::Instance()
30 ACLPeerNameStrategy
ACLPeerNameStrategy::Instance_
;