summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:29:22 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:29:22 +1100
commitb16461ce452a53f99b445fae0f935d16cdc104cb (patch)
tree516fd394b51111e6fc33e8932a5e1389ce348c30 /serverloop.c
parentb51ed391618d5c5ac5b7950a4743f45d5cf5898e (diff)
- markus@cvs.openbsd.org 2002/01/16 13:17:51
[channels.c channels.h serverloop.c ssh.c] wrapper for channel_setup_fwd_listener
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/serverloop.c b/serverloop.c
index 39d992057..6c8719a3f 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.94 2002/01/10 11:13:29 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.95 2002/01/16 13:17:51 markus Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -991,11 +991,8 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
991 packet_send_debug("Server has disabled port forwarding."); 991 packet_send_debug("Server has disabled port forwarding.");
992 } else { 992 } else {
993 /* Start listening on the port */ 993 /* Start listening on the port */
994 success = channel_request_forwarding( 994 success = channel_setup_remote_fwd_listener(
995 listen_address, listen_port, 995 listen_address, listen_port, options.gateway_ports);
996 /*unspec host_to_connect*/ "<unspec host>",
997 /*unspec port_to_connect*/ 0,
998 options.gateway_ports, /*remote*/ 1);
999 } 996 }
1000 xfree(listen_address); 997 xfree(listen_address);
1001 } 998 }