diff options
author | ache <ache@FreeBSD.org> | 1999-04-03 04:02:29 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-04-03 04:02:29 +0000 |
commit | 96eeae5a31e28bf71b46c22b933a640f64069f01 (patch) | |
tree | 9e437d2c90d7f15695c69074fca2d336efb97eee /contrib/tcp_wrappers | |
parent | 55a61d83194a408c3240b5fe464722258ade8809 (diff) | |
download | FreeBSD-src-96eeae5a31e28bf71b46c22b933a640f64069f01.zip FreeBSD-src-96eeae5a31e28bf71b46c22b933a640f64069f01.tar.gz |
Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk
Diffstat (limited to 'contrib/tcp_wrappers')
-rw-r--r-- | contrib/tcp_wrappers/inetcf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/tcp_wrappers/inetcf.c b/contrib/tcp_wrappers/inetcf.c index 13838db..c288196 100644 --- a/contrib/tcp_wrappers/inetcf.c +++ b/contrib/tcp_wrappers/inetcf.c @@ -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) { |