Run cargo fmt

This commit is contained in:
_Frky 2022-08-04 17:57:20 +02:00
parent 7cf67e01b3
commit ed464181bc
2 changed files with 4 additions and 2 deletions

View file

@ -29,7 +29,7 @@ mod stun;
use stun::{STUN_PATTERN_CHANGE_REQUEST, STUN_PATTERN_EMPTY, STUN_PATTERN_MAGIC};
mod ssh;
use ssh::{SSH_PATTERN_CLIENT_PROTOCOL_2, SSH_PATTERN_CLIENT_PROTOCOL_1};
use ssh::{SSH_PATTERN_CLIENT_PROTOCOL_1, SSH_PATTERN_CLIENT_PROTOCOL_2};
mod ghost;
use ghost::GHOST_PATTERN_SIGNATURE;

View file

@ -178,7 +178,9 @@ pub fn repl<'a>(
debug!("sending SSH answer");
warn!(
"SSH server banner to {}",
std::str::from_utf8(&pstate.ssh_software).unwrap().trim_end()
std::str::from_utf8(&pstate.ssh_software)
.unwrap()
.trim_end()
);
Some(repl_data)
}