]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow-mgr: fix bypass counter registration 2319/head
authorVictor Julien <victor@inliniac.net>
Fri, 30 Sep 2016 14:26:40 +0000 (16:26 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 30 Sep 2016 14:27:12 +0000 (16:27 +0200)
src/flow-manager.c

index 8da17f93e63fa7371cd1fd0c9e820c0d546b7e67..dece557ea15b701c91ada279ef8dead5d0e5da4d 100644 (file)
@@ -621,7 +621,7 @@ static TmEcode FlowManagerThreadInit(ThreadVars *t, void *initdata, void **data)
     ftd->flow_mgr_cnt_clo = StatsRegisterCounter("flow_mgr.closed_pruned", t);
     ftd->flow_mgr_cnt_new = StatsRegisterCounter("flow_mgr.new_pruned", t);
     ftd->flow_mgr_cnt_est = StatsRegisterCounter("flow_mgr.est_pruned", t);
-    ftd->flow_mgr_cnt_est = StatsRegisterCounter("flow_mgr.bypassed_pruned", t);
+    ftd->flow_mgr_cnt_byp = StatsRegisterCounter("flow_mgr.bypassed_pruned", t);
     ftd->flow_mgr_spare = StatsRegisterCounter("flow.spare", t);
     ftd->flow_emerg_mode_enter = StatsRegisterCounter("flow.emerg_mode_entered", t);
     ftd->flow_emerg_mode_over = StatsRegisterCounter("flow.emerg_mode_over", t);