]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2004/06/25 01:16:09
authordtucker <dtucker>
Fri, 25 Jun 2004 03:34:31 +0000 (03:34 +0000)
committerdtucker <dtucker>
Fri, 25 Jun 2004 03:34:31 +0000 (03:34 +0000)
     [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@

ChangeLog
sshd.c

index 6c019aac10a60f04f8f1fe23b8e192c8ea85dc0b..4e673b1450ee1003aa04f292d167fa5febf2acc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@
    - djm@cvs.openbsd.org 2004/06/24 19:30:54
      [servconf.c servconf.h sshd.c]
      re-exec sshd on accept(); initial work, final debugging and ok markus@
+   - 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@
 
 20040623
  - (dtucker) [auth1.c] Ensure do_pam_account is called for Protocol 1
diff --git a/sshd.c b/sshd.c
index 98e90b5acac3ba0316f55fe22a976e574ab6107d..2408fcb5a6c60eb23683e405e8a79acada6f3333 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.294 2004/06/24 19:30:54 djm Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.295 2004/06/25 01:16:09 djm Exp $");
 
 #include <openssl/dh.h>
 #include <openssl/bn.h>
@@ -1620,7 +1620,7 @@ main(int ac, char **av)
 
 #ifdef LIBWRAP
        /* Check whether logins are denied from this host. */
-       {
+       if (packet_connection_is_on_socket()) {
                struct request_info req;
 
                request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0);
This page took 0.092042 seconds and 5 git commands to generate.