SSH2: use type boolean for want reply instead of character

This commit is contained in:
terrafrost 2021-03-29 08:15:16 -05:00
parent dfb71b4fc7
commit f0f8d80073

View File

@ -2774,7 +2774,7 @@ class SSH2
$terminal_modes = pack('C', NET_SSH2_TTY_OP_END); $terminal_modes = pack('C', NET_SSH2_TTY_OP_END);
$packet = Strings::packSSH2( $packet = Strings::packSSH2(
'CNsCsN4s', 'CNsbsN4s',
NET_SSH2_MSG_CHANNEL_REQUEST, NET_SSH2_MSG_CHANNEL_REQUEST,
$this->server_channels[self::CHANNEL_SHELL], $this->server_channels[self::CHANNEL_SHELL],
'pty-req', 'pty-req',