summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-01-29 19:42:36 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-01-29 19:42:36 +0000
commitdb845f186bda7cece113ce8c619af2c50d6236a1 (patch)
treec57c273ab1811e37dd57eefd984dc6fc8e4d19b4 /usr.bin/ssh/clientloop.c
parentfc275459f7ccd34d16a96a1f4d2b4d73477e0b1a (diff)
add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r--usr.bin/ssh/clientloop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index 49a943a7399..721c27905ae 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/clientloop.c
@@ -59,7 +59,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: clientloop.c,v 1.46 2001/01/29 16:55:36 markus Exp $");
+RCSID("$OpenBSD: clientloop.c,v 1.47 2001/01/29 19:42:35 markus Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1069,6 +1069,8 @@ client_request_x11(const char *request_type, int rchan)
}
packet_done();
/* XXX check permission */
+ debug("client_request_x11: request from %s %d", originator,
+ originator_port);
sock = x11_connect_display();
if (sock >= 0) {
newch = channel_new("x11",