Skip to content

Commit 76abe84

Browse files
committed
T75: ipt-netflow fix aggregation mode
* 0004-Change-aggregation-parameter-mode-400-444.patch: Tests need to read 'aggregation' parameter. All other parameters have modes 444 or 644. Change mode of 'aggregation' 400 -> 444
1 parent 4fe55d8 commit 76abe84

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 3f45658e9a2b8642e1c43f4adc22e107ea6eb235 Mon Sep 17 00:00:00 2001
2+
From: Kyrylo Yatsenko <hedrok@gmail.com>
3+
Date: Tue, 2 Sep 2025 10:29:04 +0300
4+
Subject: [PATCH] Change 'aggregation' parameter mode 400->444
5+
6+
---
7+
ipt_NETFLOW.c | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c
11+
index eee8074..721353d 100644
12+
--- a/ipt_NETFLOW.c
13+
+++ b/ipt_NETFLOW.c
14+
@@ -229,7 +229,7 @@ MODULE_PARM_DESC(engine_id, "Observation Domain ID");
15+
#define AGGR_SIZE 1024
16+
static char aggregation_buf[AGGR_SIZE] = "";
17+
static char *aggregation = aggregation_buf;
18+
-module_param(aggregation, charp, 0400);
19+
+module_param(aggregation, charp, 0444);
20+
MODULE_PARM_DESC(aggregation, "aggregation ruleset");
21+
static LIST_HEAD(aggr_n_list);
22+
static LIST_HEAD(aggr_p_list);
23+
--
24+
2.50.1
25+

0 commit comments

Comments
 (0)