summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-25 13:34:31 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-25 13:34:31 +1000
commit586b0b98bf9fe8a1d551a9706aed60851ff0e014 (patch)
treee61c349fd701ac0ce005d4951d6c5d97f646689f /sshd.c
parent645ab757bd58dc0c8e42b9886863ec95bf058c3e (diff)
- djm@cvs.openbsd.org 2004/06/25 01:16:09
[sshd.c] only perform tcp wrappers checks when the incoming connection is on a socket. silences useless warnings from regress tests that use proxycommand="sshd -i". prompted by david@ ok markus@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 98e90b5ac..2408fcb5a 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.294 2004/06/24 19:30:54 djm Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.295 2004/06/25 01:16:09 djm Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -1620,7 +1620,7 @@ main(int ac, char **av)
1620 1620
1621#ifdef LIBWRAP 1621#ifdef LIBWRAP
1622 /* Check whether logins are denied from this host. */ 1622 /* Check whether logins are denied from this host. */
1623 { 1623 if (packet_connection_is_on_socket()) {
1624 struct request_info req; 1624 struct request_info req;
1625 1625
1626 request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0); 1626 request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0);