Skip to content

Commit

Permalink
Aligned comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-odintsov committed Dec 13, 2024
1 parent 6a9aab5 commit 668479b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netflow_plugin/netflow_v9_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,7 @@ bool process_netflow_packet_v9(const uint8_t* packet,
uint32_t flowset_id = ntohs(flowset->flowset_id);
uint32_t flowset_length = ntohs(flowset->length);

// One more check to ensure that we have enough space in packet to read whole flowset
// One more check to ensure that we have enough space in packet to read whole flowset
if (offset + flowset_length > packet_length) {
logger << log4cpp::Priority::ERROR << "We tried to read from address outside Netflow's packet flowset agent IP: "
<< client_addres_in_string_format << " flowset number: " << flowset_number
Expand Down

0 comments on commit 668479b

Please sign in to comment.