summaryrefslogtreecommitdiffstats
path: root/vnet/vnet/classify/policer_classify.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnet/vnet/classify/policer_classify.c')
-rw-r--r--vnet/vnet/classify/policer_classify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/classify/policer_classify.c b/vnet/vnet/classify/policer_classify.c
index c4c44849e1d..e4580a204bb 100644
--- a/vnet/vnet/classify/policer_classify.c
+++ b/vnet/vnet/classify/policer_classify.c
@@ -44,7 +44,7 @@ vnet_policer_classify_feature_enable (vlib_main_t * vnm,
ftype = ip6_main.ip6_unicast_rx_feature_policer_classify;
}
- ipcm = &lm->rx_config_mains[VNET_UNICAST];
+ ipcm = &lm->feature_config_mains[VNET_IP_RX_UNICAST_FEAT];
ci = ipcm->config_index_by_sw_if_index[sw_if_index];
ci = (feature_enable ? vnet_config_add_feature : vnet_config_del_feature)