Since our inetd wrapped now, treat all its services as tcpd-prefixed

for tcpdchk
This commit is contained in:
Andrey A. Chernov 1999-04-03 04:02:29 +00:00
parent b53aaddfad
commit d8094070f9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45256

View file

@ -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) {