diff options
Diffstat (limited to 'src/vnet/bier/bier_disp_dispatch_node.c')
-rw-r--r-- | src/vnet/bier/bier_disp_dispatch_node.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vnet/bier/bier_disp_dispatch_node.c b/src/vnet/bier/bier_disp_dispatch_node.c index 0dbcada78ed..a506f1da70a 100644 --- a/src/vnet/bier/bier_disp_dispatch_node.c +++ b/src/vnet/bier/bier_disp_dispatch_node.c @@ -129,8 +129,7 @@ format_bier_disp_dispatch_trace (u8 * s, va_list * args) return (s); } -static uword -bier_disp_dispatch (vlib_main_t * vm, +VLIB_NODE_FN (bier_disp_dispatch_node) (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame) { @@ -138,7 +137,6 @@ bier_disp_dispatch (vlib_main_t * vm, } VLIB_REGISTER_NODE (bier_disp_dispatch_node) = { - .function = bier_disp_dispatch, .name = "bier-disp-dispatch", .vector_size = sizeof (u32), @@ -148,4 +146,3 @@ VLIB_REGISTER_NODE (bier_disp_dispatch_node) = { [0] = "bier-drop", } }; -VLIB_NODE_FUNCTION_MULTIARCH (bier_disp_dispatch_node, bier_disp_dispatch) |