mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
The list of (key,value) pairs to request_init is terminated by a 0 key,
not NULL. Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> MFC after: 3 days
This commit is contained in:
parent
dfd6a083db
commit
48135410c1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127865
@ -751,7 +751,7 @@ main(int argc, char **argv)
|
||||
inetd_setproctitle("wrapping", ctrl);
|
||||
service = sep->se_server_name ?
|
||||
sep->se_server_name : sep->se_service;
|
||||
request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, NULL);
|
||||
request_init(&req, RQ_DAEMON, service, RQ_FILE, ctrl, 0);
|
||||
fromhost(&req);
|
||||
deny_severity = LIBWRAP_DENY_FACILITY|LIBWRAP_DENY_SEVERITY;
|
||||
allow_severity = LIBWRAP_ALLOW_FACILITY|LIBWRAP_ALLOW_SEVERITY;
|
||||
|
Loading…
Reference in New Issue
Block a user