mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk
This commit is contained in:
parent
b53aaddfad
commit
d8094070f9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45256
@ -248,7 +248,11 @@ char *arg1;
|
||||
*/
|
||||
sprintf(daemon, "%s/%s", REAL_DAEMON_DIR, arg0);
|
||||
if (STR_EQ(path, daemon)) {
|
||||
#ifdef __FreeBSD__
|
||||
wrap_status = WR_MAYBE;
|
||||
#else
|
||||
wrap_status = WR_NOT;
|
||||
#endif
|
||||
} else if (check_path(daemon, &st) >= 0) {
|
||||
wrap_status = WR_MAYBE;
|
||||
} else if (errno == ENOENT) {
|
||||
|
Loading…
Reference in New Issue
Block a user