aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/ethernet/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/ethernet/init.c')
-rw-r--r--vnet/vnet/ethernet/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnet/vnet/ethernet/init.c b/vnet/vnet/ethernet/init.c
index 7590abdb831..21817296a54 100644
--- a/vnet/vnet/ethernet/init.c
+++ b/vnet/vnet/ethernet/init.c
@@ -78,7 +78,8 @@ VNET_ETHERNET_TX_FEATURE_INIT (ethernet_tx_drop, static) =
static clib_error_t *
ethernet_feature_init (vlib_main_t * vm)
{
- ip_config_main_t *cm = &ethernet_main.feature_config_mains[VNET_IP_TX_FEAT];
+ vnet_feature_config_main_t *cm =
+ &ethernet_main.feature_config_mains[VNET_IP_TX_FEAT];
vnet_config_main_t *vcm = &cm->config_main;
return (vnet_feature_arc_init (vm, vcm,