Minor fixes for packet analyzer renaming.

This commit is contained in:
Jan Grashoefer 2020-07-13 17:12:20 +02:00 committed by Tim Wojtulewicz
parent e53ec46c23
commit 1e0e8e35af
6 changed files with 55 additions and 55 deletions

View file

@ -142,7 +142,7 @@ public:
Analyzer* InstantiateAnalyzer(const std::string& name);
/**
* Processes a packet by applying the configured low layer analyzers.
* Processes a packet by applying the configured packet analyzers.
*
* @param packet The packet to process.
*/

View file

@ -11,9 +11,9 @@ ARPAnalyzer::ARPAnalyzer()
std::tuple<zeek::packet_analysis::AnalyzerResult, zeek::packet_analysis::identifier_t> ARPAnalyzer::Analyze(Packet* packet)
{
// TODO: Make ARP analyzer a native LL analyzer
// TODO: Make ARP analyzer a native packet analyzer
packet->l3_proto = L3_ARP;
// Leave LL analyzer land
// Leave packet analyzer land
return { AnalyzerResult::Terminate, 0 };
}

View file

@ -13,6 +13,6 @@ std::tuple<zeek::packet_analysis::AnalyzerResult, zeek::packet_analysis::identif
{
packet->l3_proto = L3_IPV4;
// Leave LL analyzer land
// Leave packet analyzer land
return { AnalyzerResult::Terminate, 0 };
}

View file

@ -13,6 +13,6 @@ std::tuple<zeek::packet_analysis::AnalyzerResult, zeek::packet_analysis::identif
{
packet->l3_proto = L3_IPV6;
// Leave LL analyzer land
// Leave packet analyzer land
return { AnalyzerResult::Terminate, 0 };
}