u32 *buffers = vlib_frame_vector_args (frame);
uword n_packets = frame->n_vectors;
+ if (node->flags & VLIB_NODE_FLAG_TRACE)
+ bier_drop_trace (vm, node, frame);
+
vlib_error_drop_buffers (vm, node, buffers,
/* stride */ 1,
n_packets,
0, // bier_input_node.index,
0);
- if (node->flags & VLIB_NODE_FLAG_TRACE)
- bier_drop_trace (vm, node, frame);
-
return n_packets;
}
return s;
}
-/* *INDENT-OFF* */
VLIB_REGISTER_NODE (bier_drop_node, static) =
{
- .function = bier_drop,.
- name = "bier-drop",
+ .function = bier_drop,
+ .name = "bier-drop",
.vector_size = sizeof (u32),
.format_trace = format_bier_drop_trace,
.n_next_nodes = 1,