summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/flow/flow_report_sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/flow/flow_report_sample.c')
-rw-r--r--vnet/vnet/flow/flow_report_sample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vnet/vnet/flow/flow_report_sample.c b/vnet/vnet/flow/flow_report_sample.c
index 1bd58e55917..122bd9d8aea 100644
--- a/vnet/vnet/flow/flow_report_sample.c
+++ b/vnet/vnet/flow/flow_report_sample.c
@@ -199,8 +199,7 @@ static vlib_frame_t * send_flows (flow_report_main_t * frm,
b0->current_length = copy_len;
b0->flags |= VLIB_BUFFER_TOTAL_LENGTH_VALID;
vnet_buffer (b0)->sw_if_index[VLIB_RX] = 0;
- /* $$$ for now, look up in fib-0. Later: arbitrary TX fib */
- vnet_buffer (b0)->sw_if_index[VLIB_TX] = ~0;
+ vnet_buffer (b0)->sw_if_index[VLIB_TX] = frm->fib_index;
tp = vlib_buffer_get_current (b0);
ip = (ip4_header_t *) &tp->ip4;