aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-01-20 10:57:13 +0000
committerGerrit Code Review <gerrit@fd.io>2023-01-20 10:57:13 +0000
commitcb46ee3d51c1a8b60a97a7774fa2fc724f45317d (patch)
tree7aa9e2615d07fd89b3e89f57f4887e32f87de74f
parent1d591ba03d2a8575bcbbbaac32af282ea533d89f (diff)
parentf2665f26218e7181812755fa4a17cafa94af1851 (diff)
Merge "fix: correctly print fib prefixes" into stable/2210
-rw-r--r--hicn-plugin/src/route.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hicn-plugin/src/route.c b/hicn-plugin/src/route.c
index 059d506e0..ff96e5cd7 100644
--- a/hicn-plugin/src/route.c
+++ b/hicn-plugin/src/route.c
@@ -295,7 +295,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);
udp_tunnel_set_face (face_id, proto == DPO_PROTO_IP4);
}
@@ -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;