aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-07-04 20:18:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-07-04 20:18:54 +0000
commit93a3746af7c5a204900c6b147d5137f6e30a7092 (patch)
tree3c3ba9afb798cd07959135f42aae8eed893a25a1
parentbd70e161efe49b86fb490e8ad127d031d8d6f3fc (diff)
downloadsrc-93a3746af7c5a204900c6b147d5137f6e30a7092.tar.gz
src-93a3746af7c5a204900c6b147d5137f6e30a7092.zip
MFC: Unbreak paranoid host checking
Notes
Notes: svn path=/releng/4.3/; revision=79250
-rw-r--r--contrib/tcp_wrappers/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcp_wrappers/socket.c b/contrib/tcp_wrappers/socket.c
index 47f3df6a02a7..e53d5c3b6cef 100644
--- a/contrib/tcp_wrappers/socket.c
+++ b/contrib/tcp_wrappers/socket.c
@@ -222,7 +222,7 @@ struct host_info *host;
hints.ai_family = sin->sa_family;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST;
- if ((err = getaddrinfo(host->name, NULL, &hints, &res0) == 0)) {
+ if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) {
freeaddrinfo(res0);
tcpd_warn("host name/name mismatch: "
"reverse lookup results in non-FQDN %s",