From d239f355fd9f337ff0c775d4f1fc970d506c06a0 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Fri, 17 Feb 2023 17:43:24 -0700 Subject: [PATCH] FTP analyzer: Remove unnecessary lines from constructor --- src/analyzer/protocol/ftp/FTP.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/analyzer/protocol/ftp/FTP.cc b/src/analyzer/protocol/ftp/FTP.cc index f0dcdeb5a4..b092f96662 100644 --- a/src/analyzer/protocol/ftp/FTP.cc +++ b/src/analyzer/protocol/ftp/FTP.cc @@ -24,15 +24,11 @@ FTP_Analyzer::FTP_Analyzer(Connection* conn) : analyzer::tcp::TCP_ApplicationAna nvt_orig = new analyzer::login::NVT_Analyzer(conn, true); nvt_orig->SetIsNULSensitive(true); - nvt_orig->SetIsNULSensitive(true); nvt_orig->SetCRLFAsEOL(LF_as_EOL); - nvt_orig->SetIsNULSensitive(LF_as_EOL); nvt_resp = new analyzer::login::NVT_Analyzer(conn, false); nvt_resp->SetIsNULSensitive(true); - nvt_resp->SetIsNULSensitive(true); nvt_resp->SetCRLFAsEOL(LF_as_EOL); - nvt_resp->SetIsNULSensitive(LF_as_EOL); nvt_resp->SetPeer(nvt_orig); nvt_orig->SetPeer(nvt_resp);