aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-07-29 09:05:08 +0200
committerMauro Sardara <msardara@cisco.com>2020-09-09 11:08:44 +0200
commitaba0a8ce4aeae0392b71658e9afaedc0d857a1a7 (patch)
tree739c9b88fd6696a992893c4f4d1c2af7c100032d /hicn-plugin
parentd5071d0c80e1da5e28c2430ba4b579b886373cd2 (diff)
[HICN-555] Reworked loop
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ia837da43b797a3f4d30d832e7ad2b0ec8cc3fefe Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/faces/ip/face_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-plugin/src/faces/ip/face_ip.c b/hicn-plugin/src/faces/ip/face_ip.c
index a2fe069ed..72599f3b3 100644
--- a/hicn-plugin/src/faces/ip/face_ip.c
+++ b/hicn-plugin/src/faces/ip/face_ip.c
@@ -300,7 +300,7 @@ hicn_face_ip_add (const ip46_address_t * local_addr,
hicn_face_ip_input_faces_t in_faces_temp;
hicn_face_ip_vec_t *vec;
pool_get (hicn_vec_pool, vec);
- *vec = vec_new (hicn_face_ip_vec_t, 0);
+ *vec = vec_new (hicn_face_id_t, 0);
u32 index = vec - hicn_vec_pool;
in_faces_temp.vec_id = index;
vec_add1 (*vec, *pfaceid);