aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2022-09-16 13:56:34 +0200
committerJordan Augé <jordan.auge+fdio@cisco.com>2022-09-23 15:18:44 +0200
commitadbdfdf7489e1909f29e2dd02edb7d15c258ed19 (patch)
treee12231bddf4d19be089af34d131760e58ddba62f /ctrl/libhicnctrl
parentb498b1d3fe2684e0233986551fa581a07148e22b (diff)
fix(hicn-light): fix routing issues
Ref: HICN-786 Change-Id: I541c87d2d810907489ca4f59b3d7740a18c108fb Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/libhicnctrl')
-rw-r--r--ctrl/libhicnctrl/src/modules/hicn_light/route.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctrl/libhicnctrl/src/modules/hicn_light/route.c b/ctrl/libhicnctrl/src/modules/hicn_light/route.c
index 1adfe4f36..22cf6fbc5 100644
--- a/ctrl/libhicnctrl/src/modules/hicn_light/route.c
+++ b/ctrl/libhicnctrl/src/modules/hicn_light/route.c
@@ -33,22 +33,22 @@ static int hicnlight_route_parse(const uint8_t *buffer, size_t size,
cmd_route_list_item_t *item = (cmd_route_list_item_t *)buffer;
if (!IS_VALID_NAME(item->face_name)) {
- ERROR("[hc_connection_parse] Invalid face_name received");
+ ERROR("[hc_route_parse] Invalid face_name received");
return -1;
}
if (!IS_VALID_ID(item->face_id)) {
- ERROR("[hc_connection_parse] Invalid face_id received");
+ ERROR("[hc_route_parse] Invalid face_id received");
return -1;
}
if (!IS_VALID_FAMILY(item->family)) {
- ERROR("[hc_listener_parse] Invalid family received");
+ ERROR("[hc_route_parse] Invalid family received");
return -1;
}
if (!IS_VALID_ADDRESS(item->remote_addr)) {
- ERROR("[hc_connection_parse] Invalid address received");
+ ERROR("[hc_route_parse] Invalid address received");
return -1;
}