summaryrefslogtreecommitdiffstats
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-15 11:25:11 +0200
commitb0b2fd768c015a01f17eaa9827a8f5faafa58946 (patch)
tree3b49b1904ca2847d90593a355b6dc4ee09a7a580 /src/packet1.c
parent9180bfffcd3987a1d2429bc081a08d827aa8a8e1 (diff)
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