summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/tcp_wrappers/inetcf.c4
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) {
OpenPOWER on IntegriCloud