diff options
author | Mauro Sardara <msardara@cisco.com> | 2023-01-18 20:07:48 +0000 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2023-01-18 20:08:31 +0000 |
commit | ce8807815b2e9c6630f639e8dc6924f0eff74775 (patch) | |
tree | 6293adfa87bde8bef0e610e6611afe174e82c48b | |
parent | 7560918629eb11aa7bdaee5f4856243b38c77f93 (diff) |
fix: correctly print fib prefixes
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99
Signed-off-by: Mauro Sardara <msardara@cisco.com>
-rw-r--r-- | hicn-plugin/src/route.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |