mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -05:00
Move SSH_MSG_DISCONNECT construction into the BPP.
This is a convenient place for it because it abstracts away the difference in disconnect packet formats between SSH-1 and -2, so when I start restructuring, I'll be able to call it even from places that don't know which version of SSH they're running.
This commit is contained in:
@ -30,6 +30,7 @@ static const struct BinaryPacketProtocolVtable ssh2_bare_bpp_vtable = {
|
||||
ssh2_bare_bpp_handle_input,
|
||||
ssh2_bare_bpp_handle_output,
|
||||
ssh2_bare_bpp_new_pktout,
|
||||
ssh2_bpp_queue_disconnect, /* in sshcommon.c */
|
||||
};
|
||||
|
||||
BinaryPacketProtocol *ssh2_bare_bpp_new(void)
|
||||
|
Reference in New Issue
Block a user