1 - security, barf in case of problems with hosts.allow/deny files
2 --- tcp_wrappers_7.6/hosts_access.c.sig 2003-02-10 16:18:31.000000000 +0100
3 +++ tcp_wrappers_7.6/hosts_access.c 2003-02-10 16:50:38.000000000 +0100
11 * These variables are globally visible so that they can be redirected in
13 verdict = setjmp(tcpd_buf);
15 return (verdict == AC_PERMIT);
16 - if (table_match(hosts_allow_table, request))
17 + if (table_match(hosts_allow_table, request) == YES)
19 - if (table_match(hosts_deny_table, request))
22 + if (table_match(hosts_deny_table, request) == NO)
27 /* table_match - match table entries with (daemon, client) pair */
30 } else if (errno != ENOENT) {
31 tcpd_warn("cannot open %s: %m", table);
36 if (hosts_access_verbose > 1)
37 syslog(LOG_DEBUG, "matched: %s line %d",
38 tcpd_context.file, tcpd_context.line);