summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-05-30 15:20:09 +0000
committermarkus <markus@openbsd.org>2001-05-30 15:20:09 +0000
commit31c64bdae3edaaa4bfce3457498bfbbddd08d27b (patch)
tree6f6a8762be877dd24f3c10adb3ece6abee0200c8 /usr.bin/ssh/ssh.c
parent- gather statistics (ipackets, ierrors, collisions, etc) from txp itself (diff)
downloadwireguard-openbsd-31c64bdae3edaaa4bfce3457498bfbbddd08d27b.tar.xz
wireguard-openbsd-31c64bdae3edaaa4bfce3457498bfbbddd08d27b.zip
merge functions, simplify.
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index afb468eee69..f13a848e60f 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.121 2001/05/30 12:55:13 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.122 2001/05/30 15:20:10 markus Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -1074,7 +1074,7 @@ ssh_session2_command(void)
debug3("ssh_session2_command: channel_new: %d", c->self);
- channel_open(c->self);
+ channel_send_open(c->self);
channel_register_callback(c->self, SSH2_MSG_CHANNEL_OPEN_CONFIRMATION,
ssh_session2_callback, (void *)0);