Skip to content

Commit 308cd2a

Browse files
committed
Quickfix for compilation w/o sampling.
1 parent 74d8a54 commit 308cd2a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ipt_NETFLOW.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3607,7 +3607,9 @@ static int netflow_scan_and_export(const int flush)
36073607
}
36083608
#endif
36093609

3610+
#ifdef ENABLE_SAMPLER
36103611
mode = get_sampler_mode();
3612+
#endif
36113613
list_for_each_entry_safe(nf, tmp, &export_list, flows_list) {
36123614
NETFLOW_STAT_ADD(pkt_out, nf->nr_packets);
36133615
NETFLOW_STAT_ADD(traf_out, nf->nr_bytes);

0 commit comments

Comments
 (0)