Skip to content

Commit 7c5dcad

Browse files
author
Damir Zainullin
committed
++
1 parent 38cf038 commit 7c5dcad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

new-process-api/process/pstats/src/packetStats.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ class PacketStatsPlugin : public ProcessPlugin {
6868
PluginUpdateResult onUpdate(const FlowContext& flowContext, void* pluginContext) override;
6969

7070
/**
71-
* @brief Prepare the export for export.
71+
* @brief Prepare the export data.
7272
*
73-
* Removes record if packet count is less than `MIN_FLOW_LENGTH`.
74-
* Sets all fields as available.
73+
* Removes record if it seems to be TCP scan.
74+
* Sets all fields as available otherwise.
7575
*
7676
* @param flowRecord The flow record containing aggregated flow data.
7777
* @param pluginContext Pointer to `PacketStatsData`.
78-
* @return Remove if packet count is less than `MIN_FLOW_LENGTH`,
78+
* @return RemovePlugin if packet count is less than `MIN_FLOW_LENGTH`,
7979
* else no action required.
8080
*/
8181
PluginExportResult onExport(const FlowRecord& flowRecord, void* pluginContext) override;

0 commit comments

Comments
 (0)