diff options
author | Mauro Sardara <msardara@cisco.com> | 2023-01-18 20:07:48 +0000 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2023-01-20 10:40:42 +0000 |
commit | f2665f26218e7181812755fa4a17cafa94af1851 (patch) | |
tree | 53d610bf7e053b2c1b6ae2f9a3374c8b91f2ba3a | |
parent | f904218765e58ab1cdf05b6dfd14912369cd9fe7 (diff) |
fix: correctly print fib prefixes
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99
Signed-off-by: Mauro Sardara <msardara@cisco.com>
(cherry picked from commit ce8807815b2e9c6630f639e8dc6924f0eff74775)
-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; |