FTP analyzer: Remove unnecessary lines from constructor

This commit is contained in:
Tim Wojtulewicz 2023-02-17 17:43:24 -07:00 committed by Tim Wojtulewicz
parent 7e66261fd9
commit d239f355fd

View file

@ -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 = new analyzer::login::NVT_Analyzer(conn, true);
nvt_orig->SetIsNULSensitive(true); nvt_orig->SetIsNULSensitive(true);
nvt_orig->SetIsNULSensitive(true);
nvt_orig->SetCRLFAsEOL(LF_as_EOL); nvt_orig->SetCRLFAsEOL(LF_as_EOL);
nvt_orig->SetIsNULSensitive(LF_as_EOL);
nvt_resp = new analyzer::login::NVT_Analyzer(conn, false); nvt_resp = new analyzer::login::NVT_Analyzer(conn, false);
nvt_resp->SetIsNULSensitive(true); nvt_resp->SetIsNULSensitive(true);
nvt_resp->SetIsNULSensitive(true);
nvt_resp->SetCRLFAsEOL(LF_as_EOL); nvt_resp->SetCRLFAsEOL(LF_as_EOL);
nvt_resp->SetIsNULSensitive(LF_as_EOL);
nvt_resp->SetPeer(nvt_orig); nvt_resp->SetPeer(nvt_orig);
nvt_orig->SetPeer(nvt_resp); nvt_orig->SetPeer(nvt_resp);