diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-04-03 04:02:29 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-04-03 04:02:29 +0000 |
commit | d8094070f983b4efd3a6d925f1198c15066b2769 (patch) | |
tree | f101a8348c0eee134d4b9540deed13162d9f8739 /contrib/tcp_wrappers | |
parent | b53aaddfadbda47e479121e1306d8d516ac701ef (diff) | |
download | src-d8094070f983b4efd3a6d925f1198c15066b2769.tar.gz src-d8094070f983b4efd3a6d925f1198c15066b2769.zip |
Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk
Notes
Notes:
svn path=/head/; revision=45256
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 13838db9a4cc..c288196a714e 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) { |