diff options
author | dongjuan <dong.juan1@zte.com.cn> | 2019-05-17 15:47:55 +0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2019-06-07 09:45:00 +0000 |
commit | a1759251b4aaac870265fd028d24a3736b733773 (patch) | |
tree | f732ebc6011e1317a2010ff8747bdb5937963f7c /src/plugins | |
parent | 4430f450c118b787e2f9eff57a53de1da07246c1 (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')
-rwxr-xr-x[-rw-r--r--] | src/plugins/nat/nat_ipfix_logging.c | 2 |
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) |