diff options
Diffstat (limited to 'router')
-rw-r--r-- | router/router/tap_inject_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/router/router/tap_inject_node.c b/router/router/tap_inject_node.c index 5429846..a7e46ce 100644 --- a/router/router/tap_inject_node.c +++ b/router/router/tap_inject_node.c @@ -237,7 +237,7 @@ tap_rx (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * f, int fd) b = vlib_get_buffer (vm, bi[0]); - vnet_buffer (b)->sw_if_index[VLIB_RX] = ~0; + vnet_buffer (b)->sw_if_index[VLIB_RX] = sw_if_index; vnet_buffer (b)->sw_if_index[VLIB_TX] = sw_if_index; n_bytes_left = n_bytes - VLIB_BUFFER_DATA_SIZE; |