summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp_client_detect.c
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2019-03-11 05:53:35 -0700
committerDamjan Marion <dmarion@me.com>2019-03-13 10:59:48 +0000
commitc3a0e8d2d255c0925d1ec17aba8c8892d532b040 (patch)
tree831a90adb1789a06e44cdd15a9c35f2c5c02d438 /src/vnet/dhcp/dhcp_client_detect.c
parent47a9c651e21731ec4d20e123f6c591d7078f3992 (diff)
deprecate VLIB_NODE_FUNCTION_MULTIARCH
Change-Id: I403173846bc5b1bbbe2a2c41225b0f666f851cb9 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
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",