diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-04-18 18:17:25 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-04-18 18:17:25 +0200 |
commit | 8e3bc96f29e8e0cefcd6349a1f98146677b20a9c (patch) | |
tree | 92db484ff9ca2965f9b5d72f580f745e7b9c83d6 /hicn-plugin/src/faces | |
parent | e088bb5a82e0f22aeb9ecfce8b201458b2227189 (diff) |
[HICN-179] Increased size of vector that holds the counters to the right size.
Change-Id: I054754ff722106a5be45324c1ace25447deeef2c
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/faces')
-rw-r--r-- | hicn-plugin/src/faces/face.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-plugin/src/faces/face.c b/hicn-plugin/src/faces/face.c index 68d2ba01c..74939b77e 100644 --- a/hicn-plugin/src/faces/face.c +++ b/hicn-plugin/src/faces/face.c @@ -85,7 +85,9 @@ hicn_face_module_init (vlib_main_t * vm) hicn_iface_ip_init (vm); hicn_face_udp_init (vm); hicn_iface_udp_init (vm); - counters = vec_new (vlib_combined_counter_main_t, HICN_PARAM_FACES_MAX); + counters = + vec_new (vlib_combined_counter_main_t, + HICN_PARAM_FACES_MAX * HICN_N_COUNTER); } u8 * |