From ce8807815b2e9c6630f639e8dc6924f0eff74775 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 18 Jan 2023 20:07:48 +0000 Subject: fix: correctly print fib prefixes Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99 Signed-off-by: Mauro Sardara --- hicn-plugin/src/route.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hicn-plugin') diff --git a/hicn-plugin/src/route.c b/hicn-plugin/src/route.c index a2e72b9c1..f89d40211 100644 --- a/hicn-plugin/src/route.c +++ b/hicn-plugin/src/route.c @@ -296,7 +296,7 @@ sync_hicn_fib_entry (hicn_dpo_ctx_t *fib_entry, hicn_face_id_t **pvec_faces) continue; } HICN_DEBUG ("Added new UDP face: %d because of route prefix %U", - face_id, format_ip_prefix, &_fib_entry->fe_prefix); + face_id, format_fib_prefix, &_fib_entry->fe_prefix); udp_tunnel_add_existing (dpo->dpoi_index, proto); } else if (dpo_is_pgserver (dpo)) @@ -470,8 +470,8 @@ hicn_route_enable (fib_prefix_t *prefix, hicn_face_id_t **pvec_faces) } else { - HICN_DEBUG ("Found a route for %U. Updating DPO.", format_ip_prefix, - &prefix); + HICN_DEBUG ("Found a route for %U. Updating DPO.", format_fib_prefix, + prefix); const dpo_id_t *load_balance_dpo_id; const dpo_id_t *strategy_dpo_id; -- cgit 1.2.3-korg