mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-15 00:45:06 +01:00
refactor
This commit is contained in:
parent
d34db09fd1
commit
c0f9687696
11 changed files with 529 additions and 505 deletions
|
|
@ -5,7 +5,7 @@ pub use ssh_transport as transport;
|
|||
pub use ssh_transport::{Result, SshStatus};
|
||||
|
||||
pub struct ServerConnection {
|
||||
transport: ssh_transport::ServerConnection,
|
||||
transport: ssh_transport::server::ServerConnection,
|
||||
state: ServerConnectionState,
|
||||
}
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ enum ServerConnectionState {
|
|||
}
|
||||
|
||||
impl ServerConnection {
|
||||
pub fn new(transport: ssh_transport::ServerConnection) -> Self {
|
||||
pub fn new(transport: ssh_transport::server::ServerConnection) -> Self {
|
||||
Self {
|
||||
transport,
|
||||
state: ServerConnectionState::Auth(auth::BadAuth::new()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue