diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-07 22:41:38 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-07 22:41:38 +0100 |
commit | 7f32558e08e7b09eb1f98ac035e1f313f8bad1fa (patch) | |
tree | e60e44b5a4936bf408799299cf8c2f2479007e7e /libssh/packet.c | |
parent | 228ac783977dd577c6d9272b4c3dccf06b8726db (diff) | |
download | libssh-7f32558e08e7b09eb1f98ac035e1f313f8bad1fa.tar.gz libssh-7f32558e08e7b09eb1f98ac035e1f313f8bad1fa.tar.xz libssh-7f32558e08e7b09eb1f98ac035e1f313f8bad1fa.zip |
Converted message handlers to new system
Diffstat (limited to 'libssh/packet.c')
-rw-r--r-- | libssh/packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/packet.c b/libssh/packet.c index 11587230..33512358 100644 --- a/libssh/packet.c +++ b/libssh/packet.c @@ -53,7 +53,7 @@ ssh_packet_callback default_packet_handlers[]= { ssh_packet_ignore_callback, //#define SSH2_MSG_IGNORE 2 NULL, //#define SSH2_MSG_UNIMPLEMENTED 3 ssh_packet_ignore_callback, //#define SSH2_MSG_DEBUG 4 - NULL, //#define SSH2_MSG_SERVICE_REQUEST 5 + ssh_packet_service_request, //#define SSH2_MSG_SERVICE_REQUEST 5 ssh_packet_service_accept, //#define SSH2_MSG_SERVICE_ACCEPT 6 NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, // 7-19 @@ -81,7 +81,7 @@ ssh_packet_callback default_packet_handlers[]= { ssh_request_success, //#define SSH2_MSG_REQUEST_SUCCESS 81 ssh_request_denied, //#define SSH2_MSG_REQUEST_FAILURE 82 NULL, NULL, NULL, NULL, NULL, NULL, NULL, // 83-89 - NULL, //#define SSH2_MSG_CHANNEL_OPEN 90 + ssh_packet_channel_open, //#define SSH2_MSG_CHANNEL_OPEN 90 ssh_packet_channel_open_conf, //#define SSH2_MSG_CHANNEL_OPEN_CONFIRMATION 91 ssh_packet_channel_open_fail, //#define SSH2_MSG_CHANNEL_OPEN_FAILURE 92 channel_rcv_change_window, //#define SSH2_MSG_CHANNEL_WINDOW_ADJUST 93 |