aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat_ipfix_logging.c
diff options
context:
space:
mode:
authordongjuan <dong.juan1@zte.com.cn>2019-05-17 15:47:55 +0800
committerOle Trøan <otroan@employees.org>2019-06-07 09:45:00 +0000
commita1759251b4aaac870265fd028d24a3736b733773 (patch)
treef732ebc6011e1317a2010ff8747bdb5937963f7c /src/plugins/nat/nat_ipfix_logging.c
parent4430f450c118b787e2f9eff57a53de1da07246c1 (diff)
no trigger nat ipfix flush in first worker
Change-Id: I4dbeed0b94003a698e9218648d4b352db6fbb70e Signed-off-by: dongjuan <dong.juan1@zte.com.cn>
Diffstat (limited to 'src/plugins/nat/nat_ipfix_logging.c')
-rwxr-xr-x[-rw-r--r--]src/plugins/nat/nat_ipfix_logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat_ipfix_logging.c b/src/plugins/nat/nat_ipfix_logging.c
index 4bb96bcf4a0..8cca976666e 100644..100755
--- a/src/plugins/nat/nat_ipfix_logging.c
+++ b/src/plugins/nat/nat_ipfix_logging.c
@@ -1539,7 +1539,7 @@ snat_ipfix_flush_from_main (void)
}
/* Trigger flush for each worker thread */
- for (i = 1; i < vec_len (silm->worker_vms); i++)
+ for (i = 0; i < vec_len (silm->worker_vms); i++)
{
worker_vm = silm->worker_vms[i];
if (worker_vm)