summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index d1816b52c..79ef3607b 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.35 2000/11/06 23:04:56 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.36 2000/12/05 20:34:10 markus Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "ssh.h" 41#include "ssh.h"
@@ -750,7 +750,7 @@ server_request_direct_tcpip(char *ctype)
750 xfree(originator); 750 xfree(originator);
751 if (sock < 0) 751 if (sock < 0)
752 return NULL; 752 return NULL;
753 newch = channel_new(ctype, SSH_CHANNEL_OPEN, 753 newch = channel_new(ctype, SSH_CHANNEL_CONNECTING,
754 sock, sock, -1, CHAN_TCP_WINDOW_DEFAULT, 754 sock, sock, -1, CHAN_TCP_WINDOW_DEFAULT,
755 CHAN_TCP_PACKET_DEFAULT, 0, xstrdup("direct-tcpip"), 1); 755 CHAN_TCP_PACKET_DEFAULT, 0, xstrdup("direct-tcpip"), 1);
756 return (newch >= 0) ? channel_lookup(newch) : NULL; 756 return (newch >= 0) ? channel_lookup(newch) : NULL;