b501266c2b
- Refresh all patches - Also, pass getconf LFS_CFLAGS into CFLAGS OBS-URL: https://build.opensuse.org/request/show/114926 OBS-URL: https://build.opensuse.org/package/show/network:utilities/tcpd?expand=0&rev=10
12 lines
428 B
Diff
12 lines
428 B
Diff
--- 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)",
|