diff options
author | 2016-10-07 08:30:23 -0700 | |
---|---|---|
committer | 2016-10-27 13:37:43 +0000 | |
commit | ad41b351bdbc706bd984a7b7162b4794deb2f589 (patch) | |
tree | 91e7bcdddfda294bff03aadff44571f9115f68c9 /vnet | |
parent | e63947e57c3ca09bebad0b54e43bba6c4f0f840c (diff) |
Per-packet IPFIX record generation plugin
Change-Id: Ia790aa018e70d67ed343e3e466d1b33b22560fc0
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/flow/flow_report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/flow/flow_report.c b/vnet/vnet/flow/flow_report.c index cbf1313d..6750105c 100644 --- a/vnet/vnet/flow/flow_report.c +++ b/vnet/vnet/flow/flow_report.c @@ -114,7 +114,7 @@ int send_template_packet (flow_report_main_t *frm, clib_memcpy (b0->data, fr->rewrite, vec_len (fr->rewrite)); b0->current_data = 0; b0->current_length = vec_len (fr->rewrite); - b0->flags |= VLIB_BUFFER_TOTAL_LENGTH_VALID; + b0->flags |= (VLIB_BUFFER_TOTAL_LENGTH_VALID | VLIB_BUFFER_FLOW_REPORT); vnet_buffer (b0)->sw_if_index[VLIB_RX] = 0; vnet_buffer (b0)->sw_if_index[VLIB_TX] = frm->fib_index; |