From 2252dc654f797ee5906e4b1b49fa63171edda3cf Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Wed, 3 May 2000 18:03:08 +0000 Subject: GatewayPorts for sshd, ok deraadt@ --- usr.bin/ssh/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/session.c') diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 347eb8622be..53d20c59cf2 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.11 2000/05/02 12:44:38 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.12 2000/05/03 18:03:07 markus Exp $"); #include "xmalloc.h" #include "ssh.h" @@ -310,7 +310,7 @@ do_authenticated(struct passwd * pw) break; } debug("Received TCP/IP port forwarding request."); - channel_input_port_forward_request(pw->pw_uid == 0); + channel_input_port_forward_request(pw->pw_uid == 0, options.gateway_ports); success = 1; break; -- cgit v1.2.3