summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/disp-nis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/disp-nis.c b/src/disp-nis.c
index 4e201ec..62b0e4a 100644
--- a/src/disp-nis.c
+++ b/src/disp-nis.c
@@ -459,6 +459,7 @@ dispatch_dgram(struct plugin_state *state, int fd)
#ifdef HAVE_TCPD
/* Check tcp_wrappers access control. */
if ((request_set(state->request_info,
+ RQ_FILE, -1,
RQ_CLIENT_SIN, &cdata.dgram.client_addr,
0) == NULL) ||
(fromhost(state->request_info),
@@ -592,6 +593,7 @@ dispatch_accept_client(struct plugin_state *state, int fd)
#ifdef HAVE_TCPD_H
/* Check tcp_wrappers access control. */
if ((request_set(state->request_info,
+ RQ_FILE, fd,
RQ_CLIENT_SIN, &client->client_addr,
0) == NULL) ||
(fromhost(state->request_info),