Search
SailfishOS Open Build Service
>
Projects
>
home:Wikiwide
:
OpenFOAM
>
tcpd-devel
> tcp_wrappers_7.6-multi_local_interfaces-fix.diff
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tcp_wrappers_7.6-multi_local_interfaces-fix.diff of Package tcpd-devel
--- socket.c.orig +++ socket.c @@ -282,7 +282,7 @@ sock_hostname(struct host_info *host) return; } - if (STR_NE (host->name, res->ai_canonname) && STR_NE(host->name, "localhost")) + if ((!res->ai_canonname || STR_NE (host->name, res->ai_canonname)) && STR_NE(host->name, "localhost")) { /* We don't treat this as an error, though... */ tcpd_warn("host name mismatch: %s != %s (%s)",