aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp_client_detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dhcp/dhcp_client_detect.c')
-rw-r--r--src/vnet/dhcp/dhcp_client_detect.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/vnet/dhcp/dhcp_client_detect.c b/src/vnet/dhcp/dhcp_client_detect.c
index de2702df398..68f420d7c7c 100644
--- a/src/vnet/dhcp/dhcp_client_detect.c
+++ b/src/vnet/dhcp/dhcp_client_detect.c
@@ -52,9 +52,9 @@ typedef struct dhcp_client_detect_trace_t_
u8 extracted;
} dhcp_client_detect_trace_t;
-static uword
-dhcp_client_detect_node_fn (vlib_main_t * vm,
- vlib_node_runtime_t * node, vlib_frame_t * frame)
+VLIB_NODE_FN (dhcp_client_detect_node) (vlib_main_t * vm,
+ vlib_node_runtime_t * node,
+ vlib_frame_t * frame)
{
dhcp_client_detect_next_t next_index;
u16 dhcp_client_port_network_order;
@@ -288,7 +288,6 @@ format_dhcp_client_detect_trace (u8 * s, va_list * args)
/* *INDENT-OFF* */
VLIB_REGISTER_NODE (dhcp_client_detect_node) = {
- .function = dhcp_client_detect_node_fn,
.name = "ip4-dhcp-client-detect",
.vector_size = sizeof (u32),
.format_trace = format_dhcp_client_detect_trace,
@@ -307,9 +306,6 @@ VLIB_REGISTER_NODE (dhcp_client_detect_node) = {
},
};
-VLIB_NODE_FUNCTION_MULTIARCH (dhcp_client_detect_node,
- dhcp_client_detect_node_fn);
-
VNET_FEATURE_INIT (ip4_dvr_reinject_feat_node, static) =
{
.arc_name = "ip4-unicast",