diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 16:59:21 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 16:59:21 +0000 |
commit | b697ebf16bf65c057a0a644daaa493537655fff6 (patch) | |
tree | 2985aa10177af974c64a2237e4ec1a43c7c34b96 /src/daemon.h | |
parent | 5e74b6e011257ac931d38ff20e14bbcac560acd2 (diff) | |
download | tinyproxy-b697ebf16bf65c057a0a644daaa493537655fff6.tar.gz tinyproxy-b697ebf16bf65c057a0a644daaa493537655fff6.zip |
(acl_string_processing): Moved the string processing code out of check_acl() and into it's own function because it now does two (2) tests. If the ACL string is a complete host name, in other words doesn't start with a period, than a reverse DNS look-up is done on the host name and compared to the IP address of the client; otherwise, the normal text string comparison is done.
(check_acl): Moved the string text out of the function and removed some logging code by jumping to the "Deny" code at the end of the function.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions