aboutsummaryrefslogtreecommitdiff
path: root/src/packet1.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2011-09-14 22:53:01 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2011-09-14 22:53:01 +0200
commit68bab2a490b53c5e396ff0ca2ad957c052ac6547 (patch)
treed716b60d7123cca5993ff14af9795d4c1d934045 /src/packet1.c
parentc4701a34d3bad592dde260673f7a0654079cc2b8 (diff)
downloadlibssh-68bab2a490b53c5e396ff0ca2ad957c052ac6547.tar.gz
libssh-68bab2a490b53c5e396ff0ca2ad957c052ac6547.tar.xz
libssh-68bab2a490b53c5e396ff0ca2ad957c052ac6547.zip
SSH1: handle exit-status message (channels would not close)
Diffstat (limited to 'src/packet1.c')
-rw-r--r--src/packet1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet1.c b/src/packet1.c
index b115abab..ddc64a3b 100644
--- a/src/packet1.c
+++ b/src/packet1.c
@@ -55,7 +55,7 @@ ssh_packet_callback default_packet_handlers1[]= {
ssh_packet_data1, //SSH_SMSG_STDOUT_DATA 17
ssh_packet_data1, //SSH_SMSG_STDERR_DATA 18
NULL, //SSH_CMSG_EOF 19
- NULL, //SSH_SMSG_EXITSTATUS 20
+ ssh_packet_exist_status1, //SSH_SMSG_EXITSTATUS 20
NULL, //SSH_MSG_CHANNEL_OPEN_CONFIRMATION 21
NULL, //SSH_MSG_CHANNEL_OPEN_FAILURE 22
NULL, //SSH_MSG_CHANNEL_DATA 23