Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
tcpd
tcp_wrappers_7.6-fedora-bug141110.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tcp_wrappers_7.6-fedora-bug141110.diff of Package tcpd
--- hosts_access.c.orig +++ hosts_access.c @@ -146,7 +146,7 @@ struct request_info *request; verdict = setjmp(tcpd_buf); if (verdict != 0) return (verdict == AC_PERMIT); - if (table_match(hosts_allow_table, request)) + if (table_match(hosts_allow_table, request) == YES) return (YES); if (table_match(hosts_deny_table, request)) return (NO); @@ -195,7 +195,7 @@ struct request_info *request; } else if (errno != ENOENT) { tcpd_warn("cannot open %s: %m", table); } - if (match) { + if (match == YES) { if (hosts_access_verbose > 1) syslog(LOG_DEBUG, "matched: %s line %d", tcpd_context.file, tcpd_context.line);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor