summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/session.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-05-03 18:03:08 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-05-03 18:03:08 +0000
commit2252dc654f797ee5906e4b1b49fa63171edda3cf (patch)
tree9f497f7c424a13379fb642d29baa60a330e37f3b /usr.bin/ssh/session.c
parent21013a86e57aa529031480e356a3ffc47f1472c3 (diff)
GatewayPorts for sshd, ok deraadt@
Diffstat (limited to 'usr.bin/ssh/session.c')
-rw-r--r--usr.bin/ssh/session.c4
1 files changed, 2 insertions, 2 deletions
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;