diff options
author | Michael Adam <obnox@samba.org> | 2009-12-06 23:30:23 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-07 00:22:46 +0100 |
commit | 8cb182e1b873fde40db6e4258ee23b05f956f397 (patch) | |
tree | e233d504ea8d6dbb06c5e218aa9ffa0b3d652f80 /src/reqs.c | |
parent | 6266197e9257df1501b1962ad0a3e3ba757092f3 (diff) |
Add access_list to the config struct instead of a global variable in acl.c.
Change insert_acl, check_acl and flush_access_list to take a corresponding
argument.
Michael
Diffstat (limited to 'src/reqs.c')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1403,7 +1403,7 @@ void handle_connection (int fd) return; } - if (check_acl (peer_ipaddr, peer_string) <= 0) { + if (check_acl (peer_ipaddr, peer_string, config.access_list) <= 0) { update_stats (STAT_DENIED); indicate_http_error (connptr, 403, "Access denied", "detail", |