diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/serverloop.c b/serverloop.c index 5a567a252..024c54bc3 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.43 2001/01/29 16:55:37 markus Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.45 2001/02/04 15:32:25 stevesk Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -864,12 +864,11 @@ server_input_global_request(int type, int plen, void *ctxt) | |||
864 | packet_send_debug("Server has disabled port forwarding."); | 864 | packet_send_debug("Server has disabled port forwarding."); |
865 | } else { | 865 | } else { |
866 | /* Start listening on the port */ | 866 | /* Start listening on the port */ |
867 | channel_request_forwarding( | 867 | success = channel_request_forwarding( |
868 | listen_address, listen_port, | 868 | listen_address, listen_port, |
869 | /*unspec host_to_connect*/ "<unspec host>", | 869 | /*unspec host_to_connect*/ "<unspec host>", |
870 | /*unspec port_to_connect*/ 0, | 870 | /*unspec port_to_connect*/ 0, |
871 | options.gateway_ports, /*remote*/ 1); | 871 | options.gateway_ports, /*remote*/ 1); |
872 | success = 1; | ||
873 | } | 872 | } |
874 | xfree(listen_address); | 873 | xfree(listen_address); |
875 | } | 874 | } |