aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip_punt_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip/ip_punt_drop.c')
-rw-r--r--src/vnet/ip/ip_punt_drop.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/ip/ip_punt_drop.c b/src/vnet/ip/ip_punt_drop.c
index f77a0ada078..f3388007b4a 100644
--- a/src/vnet/ip/ip_punt_drop.c
+++ b/src/vnet/ip/ip_punt_drop.c
@@ -235,6 +235,11 @@ ip_punt_drop_init (vlib_main_t * vm)
fib_node_register_type (FIB_NODE_TYPE_IP_PUNT_REDIRECT,
&ip_punt_redirect_vft);
+ ip4_punt_policer_cfg.fq_index =
+ vlib_frame_queue_main_init (ip4_punt_policer_node.index, 0);
+ ip6_punt_policer_cfg.fq_index =
+ vlib_frame_queue_main_init (ip6_punt_policer_node.index, 0);
+
return (NULL);
}