diff options
author | Nicolas Viennot <nicolas@viennot.biz> | 2018-11-18 20:54:13 -0500 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-20 07:55:08 +0100 |
commit | 59ada799d765a828ef48897221579d56012bd240 (patch) | |
tree | cc3205580d9af548e83ad9d806450aeefe8b4699 /include | |
parent | bb5d46c190378cd089d9fc9a1f39ffa4680c5533 (diff) | |
download | libssh-59ada799d765a828ef48897221579d56012bd240.tar.gz libssh-59ada799d765a828ef48897221579d56012bd240.tar.xz libssh-59ada799d765a828ef48897221579d56012bd240.zip |
packets: Fix ssh_send_keepalive()
ssh_send_keepalive() should use global_request() to properly configure
the state machine for packet filtering.
Signed-off-by: Nicolas Viennot <nicolas@viennot.biz>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/channels.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/channels.h b/include/libssh/channels.h index 19d29607..343aa7f7 100644 --- a/include/libssh/channels.h +++ b/include/libssh/channels.h @@ -98,5 +98,9 @@ int ssh_channel_flush(ssh_channel channel); uint32_t ssh_channel_new_id(ssh_session session); ssh_channel ssh_channel_from_local(ssh_session session, uint32_t id); void ssh_channel_do_free(ssh_channel channel); +int ssh_global_request(ssh_session session, + const char *request, + ssh_buffer buffer, + int reply); #endif /* CHANNELS_H_ */ |