CmdStart is invalid in this command loop

This commit is contained in:
sawka 2024-03-12 15:08:03 -07:00
parent 8656387329
commit 0d8b163b63

View File

@ -2455,11 +2455,6 @@ func (msh *MShellProc) ProcessPackets() {
msh.WriteToPtyBuffer("stderr> [remote %s] %s\n", msh.GetRemoteName(), rawPacket.Data)
continue
}
if pk.GetType() == packet.CmdStartPacketStr {
startPk := pk.(*packet.CmdStartPacketType)
msh.WriteToPtyBuffer("start> [remote %s] reqid=%s (%p)\n", msh.GetRemoteName(), startPk.RespId, msh.ServerProc.Output)
continue
}
msh.WriteToPtyBuffer("MSH> [remote %s] unhandled packet %s\n", msh.GetRemoteName(), packet.AsString(pk))
}
}