Blob Blame History Raw
--- vsftpd-1.2.0/tcpwrap.c.tcp_wrappers2	2003-01-13 20:55:21.000000000 -0500
+++ vsftpd-1.2.0/tcpwrap.c	2003-06-24 21:36:04.000000000 -0400
@@ -31,12 +31,15 @@
 vsf_tcp_wrapper_ok(int remote_fd)
 {
   struct request_info req;
+  openlog("vsftpd", LOG_PID, LOG_FTP);
   request_init(&req, RQ_DAEMON, "vsftpd", RQ_FILE, remote_fd, 0);
   fromhost(&req);
   if (!hosts_access(&req))
   {
+    closelog();
     return 0;
   }
+  closelog();
   return 1;
 }
 
--- vsftpd-work/builddefs.h.tcp_wrappers	2004-08-20 09:57:08.000000000 +0200
+++ vsftpd-work/builddefs.h	2004-08-20 10:09:11.619830424 +0200
@@ -1,7 +1,7 @@
 #ifndef VSF_BUILDDEFS_H
 #define VSF_BUILDDEFS_H
 
-#undef VSF_BUILD_TCPWRAPPERS
+#define VSF_BUILD_TCPWRAPPERS
 #define VSF_BUILD_PAM
 #undef VSF_BUILD_SSL