Skip to content

Commit 423c9af

Browse files
committed
fdsdump: rename Options member aggregation_fields -> aggregation_values for consistency
1 parent ff4968a commit 423c9af

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tools/fdsdump/src/options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void Options::reset()
4040
m_output_specifier.clear();
4141

4242
m_aggregation_keys.clear();
43-
m_aggregation_fields = "packets,bytes,flows";
43+
m_aggregation_values = "packets,bytes,flows";
4444

4545
m_biflow_autoignore = true;
4646

@@ -95,7 +95,7 @@ void Options::parse(int argc, char *argv[])
9595
m_mode = Mode::stats;
9696
break;
9797
case 'S':
98-
m_aggregation_fields = optarg;
98+
m_aggregation_values = optarg;
9999
break;
100100
case OPT_BIFLOW_AUTOIGNORE_OFF:
101101
m_biflow_autoignore = false;

src/tools/fdsdump/src/options.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Options {
7575
/** @brief Get aggregation keys */
7676
const std::string &get_aggregation_keys() const { return m_aggregation_keys; };
7777
/** @brief Get aggregation values */
78-
const std::string &get_aggregation_values() const { return m_aggregation_fields; };
78+
const std::string &get_aggregation_values() const { return m_aggregation_values; };
7979

8080
/** @brief Whether to ignore biflow direction with zero bytes and packets counter */
8181
bool get_biflow_autoignore() const { return m_biflow_autoignore; };
@@ -95,7 +95,7 @@ class Options {
9595
std::string m_order_by;
9696

9797
std::string m_aggregation_keys;
98-
std::string m_aggregation_fields;
98+
std::string m_aggregation_values;
9999

100100
bool m_biflow_autoignore;
101101

0 commit comments

Comments
 (0)