Added
Link Here
|
1 |
--- src/nfprobe_plugin/netflow9.c.orig 2020-05-10 13:57:54 UTC |
2 |
+++ src/nfprobe_plugin/netflow9.c |
3 |
@@ -2233,7 +2233,7 @@ send_netflow_v9(struct FLOW **flows, int num_flows, in |
4 |
|
5 |
/* Refresh template headers if we need to */ |
6 |
if (nf9_pkts_until_template <= 0) { |
7 |
- u_int16_t flows = 0, tot_len = 0; |
8 |
+ u_int16_t flows = 0, tot_len __attribute__((unused)) = 0; |
9 |
|
10 |
memcpy(packet + offset, &v4_template, v4_template.tot_len); |
11 |
offset += v4_template.tot_len; |