mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-03 18:18:05 +01:00
SSH2: use type boolean for want reply instead of character
This commit is contained in:
parent
dfb71b4fc7
commit
f0f8d80073
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user