From d75c88d2c066e7886cf0bc4ebeceee073588b750 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 11 Apr 2019 18:54:52 +0200 Subject: [HICN-176] Fixed bitmap size in pit entry and added static assert to avoid misconfiguration of parameters in param.h Change-Id: Ia64eaebe267f87bd5f93abf3e5a9e80bab735765 Signed-off-by: Alberto Compagno --- hicn-plugin/src/faces/face.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hicn-plugin/src/faces') diff --git a/hicn-plugin/src/faces/face.c b/hicn-plugin/src/faces/face.c index 3be42a77f..68d2ba01c 100644 --- a/hicn-plugin/src/faces/face.c +++ b/hicn-plugin/src/faces/face.c @@ -85,7 +85,7 @@ hicn_face_module_init (vlib_main_t * vm) hicn_iface_ip_init (vm); hicn_face_udp_init (vm); hicn_iface_udp_init (vm); - vec_alloc (counters, 40); + counters = vec_new (vlib_combined_counter_main_t, HICN_PARAM_FACES_MAX); } u8 * -- cgit 1.2.3-korg