search for: have_wrap

Displaying 1 result from an estimated 1 matches for "have_wrap".

Did you mean: have_mmap
2010 Dec 03
1
[PATCH] upsd tcp_wrappers parsing and logging
...--- server/upsd.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/server/upsd.c b/server/upsd.c index 0e46595..eef5638 100644 --- a/server/upsd.c +++ b/server/upsd.c @@ -410,11 +410,13 @@ static void check_command(int cmdnum, ctype_t *client, int numarg, } #ifdef HAVE_WRAP - request_init(&req, RQ_DAEMON, progname, RQ_CLIENT_ADDR, client->addr, RQ_USER, client->username, 0); + request_init(&req, RQ_DAEMON, progname, RQ_FILE, client->sock_fd, 0); + fromhost(&req); if (!hosts_access(&req)) { /* tcp-wrappers says access should be deni...