From 23faeaea5cd525a0e47a6ecb07bdf2a51929d0f9 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Wed, 10 Nov 2021 09:20:30 -0500 Subject: [PATCH] ftp: Remove diagnostic print This commit removes a diagnostic message displayed during extraction of the EPSV port. --- rust/src/ftp/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/rust/src/ftp/mod.rs b/rust/src/ftp/mod.rs index 023c222d0b..4c01b78dc1 100644 --- a/rust/src/ftp/mod.rs +++ b/rust/src/ftp/mod.rs @@ -124,8 +124,6 @@ pub fn ftp_epsv_response(i: &[u8]) -> IResult<&[u8], u16> { let (i, port) = getu16(i)?; let (i, _) = tag("|)")(i)?; let (i, _) = opt(complete(tag(".")))(i)?; - use nom7::HexDisplay; - eprintln!("ftp_epsv_response:\n{}", i.to_hex(16)); Ok((i, port)) }