diff --git a/src/proto/http.rs b/src/proto/http.rs index 6fd037e..45398fd 100644 --- a/src/proto/http.rs +++ b/src/proto/http.rs @@ -21,11 +21,11 @@ use lazy_static::lazy_static; use std::str; use crate::client::ClientInfo; +use crate::proto::TCPControlBlock; use crate::smack::{ Smack, SmackFlags, BASE_STATE, NO_MATCH, SMACK_CASE_INSENSITIVE, UNANCHORED_STATE, }; use crate::Masscanned; -use crate::proto::{TCPControlBlock}; pub const HTTP_VERBS: [&str; 9] = [ "GET", "PUT", "POST", "HEAD", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH", diff --git a/src/proto/ssh.rs b/src/proto/ssh.rs index 22b8f42..2944ac0 100644 --- a/src/proto/ssh.rs +++ b/src/proto/ssh.rs @@ -26,7 +26,7 @@ pub const SSH_PATTERN_CLIENT_PROTOCOL: &[u8; 7] = b"SSH-2.0"; pub fn repl<'a>( data: &'a [u8], - _masscanned: &Masscanned, + _masscanned: &Masscanned, mut _client_info: &mut ClientInfo, _tcb: Option<&mut TCPControlBlock>, ) -> Option> {