]>
Commit | Line | Data |
---|---|---|
48071869 | 1 | /* |
bde978a6 | 2 | * Copyright (C) 1996-2015 The Squid Software Foundation and contributors |
48071869 | 3 | * |
bbc27441 AJ |
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. | |
48071869 | 7 | */ |
8 | ||
582c2af2 | 9 | #include "squid.h" |
127dce76 | 10 | #include "acl/Checklist.h" |
602d9612 A |
11 | #include "acl/IntRange.h" |
12 | #include "acl/UrlPort.h" | |
a2ac85d9 | 13 | #include "HttpRequest.h" |
48071869 | 14 | |
48071869 | 15 | int |
33810b1d | 16 | ACLUrlPortStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist, ACLFlags &) |
48071869 | 17 | { |
18 | return data->match (checklist->request->port); | |
19 | } | |
20 | ||
21 | ACLUrlPortStrategy * | |
22 | ACLUrlPortStrategy::Instance() | |
23 | { | |
24 | return &Instance_; | |
25 | } | |
26 | ||
27 | ACLUrlPortStrategy ACLUrlPortStrategy::Instance_; | |
f53969cc | 28 |