diff --git a/src/ipv4.rs b/src/ipv4.rs index 1c2fa3c..ea60063 100644 --- a/src/ipv4.rs +++ b/src/ipv4.rs @@ -18,6 +18,9 @@ pub struct IPv4 { pub id: u64, pub ip: [u8; 4], pub ignore: bool, +// pub enum __Generator { +// Start(&'static) +// } } impl IPv4 { diff --git a/src/scanner.rs b/src/scanner.rs index 9e9734d..ebf9c36 100644 --- a/src/scanner.rs +++ b/src/scanner.rs @@ -9,6 +9,7 @@ fn tcp_scan(mut target: ipv4::IPv4, target_port: u16) -> bool { let dest = target.to_socketaddr(target_port).unwrap(); false +// TODO: FIX // if let Ok(res) = TcpStream::connect(dest) { // info!("* Got TCP ack from: {:?} | {:?}", dest, res); // return true;