mirror of
https://github.com/Noratrieb/cluelessh.git
synced 2026-01-16 01:15:04 +01:00
more moves
This commit is contained in:
parent
8a627949a3
commit
362d8c57ce
16 changed files with 164 additions and 175 deletions
|
|
@ -7,11 +7,10 @@ use crate::{
|
|||
self, AlgorithmName, EncodedSshSignature, EncryptionAlgorithm, HostKeySigningAlgorithm,
|
||||
KeyExchangeSecret, SupportedAlgorithms,
|
||||
},
|
||||
numbers,
|
||||
packet::{Packet, PacketTransport, ProtocolIdentParser},
|
||||
peer_error, Msg, Result, SshRng, SshStatus,
|
||||
};
|
||||
use cluelessh_format::{NameList, Reader, Writer};
|
||||
use cluelessh_format::{numbers, NameList, Reader, Writer};
|
||||
|
||||
pub struct ClientConnection {
|
||||
state: ClientState,
|
||||
|
|
@ -111,8 +110,7 @@ impl ClientConnection {
|
|||
let description = p.utf8_string()?;
|
||||
let _language_tag = p.utf8_string()?;
|
||||
|
||||
let reason_string =
|
||||
numbers::disconnect_reason_to_string(reason).unwrap_or("<unknown>");
|
||||
let reason_string = numbers::disconnect_reason_to_string(reason);
|
||||
|
||||
info!(%reason, %reason_string, %description, "Server disconnecting");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue