summaryrefslogtreecommitdiff
path: root/core/tcp_wrappers/07_all_sig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/tcp_wrappers/07_all_sig.patch')
-rw-r--r--core/tcp_wrappers/07_all_sig.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/core/tcp_wrappers/07_all_sig.patch b/core/tcp_wrappers/07_all_sig.patch
deleted file mode 100644
index e7341a0bc..000000000
--- a/core/tcp_wrappers/07_all_sig.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- tcp_wrappers_7.6/hosts_access.c.sig 2003-02-10 16:18:31.000000000 +0100
-+++ tcp_wrappers_7.6/hosts_access.c 2003-02-10 16:50:38.000000000 +0100
-@@ -66,6 +66,7 @@
-
- #define YES 1
- #define NO 0
-+#define ERR -1
-
- /*
- * These variables are globally visible so that they can be redirected in
-@@ -106,7 +107,6 @@
- struct request_info *request;
- {
- int verdict;
--
- /*
- * If the (daemon, client) pair is matched by an entry in the file
- * /etc/hosts.allow, access is granted. Otherwise, if the (daemon,
-@@ -129,9 +129,9 @@
- return (verdict == AC_PERMIT);
- if (table_match(hosts_allow_table, request))
- return (YES);
-- if (table_match(hosts_deny_table, request))
-- return (NO);
-- return (YES);
-+ if (table_match(hosts_deny_table, request) == NO)
-+ return (YES);
-+ return (NO);
- }
-
- /* table_match - match table entries with (daemon, client) pair */
-@@ -175,6 +175,7 @@
- (void) fclose(fp);
- } else if (errno != ENOENT) {
- tcpd_warn("cannot open %s: %m", table);
-+ match = ERR;
- }
- if (match) {
- if (hosts_access_verbose > 1)