aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2023-01-24 01:46:29 +0100
committerMauro Sardara <msardara@cisco.com>2023-02-09 13:51:14 +0000
commit0ac147d632ed6a150bf0216964888a21b1c8d43c (patch)
tree11bd1fb98916e9f2d464357deebb7c57a7b10e74 /lib
parente30c3a102081ccf345c457658dc557703fae67bb (diff)
feat: libhicnctrl: new API to allow sending MAP-Me command on specific face
Change-Id: Iac39a1d145a5c1b4f19e1fa35d713ca720393760 Ticket: HICN-832 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> (cherry picked from commit 49776ceac54eecadabca6c0e2fdc0b9ee2e8e663)
Diffstat (limited to 'lib')
-rw-r--r--lib/src/protocol/icmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/src/protocol/icmp.c b/lib/src/protocol/icmp.c
index 5ee70f088..add871bcf 100644
--- a/lib/src/protocol/icmp.c
+++ b/lib/src/protocol/icmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Cisco and/or its affiliates.
+ * Copyright (c) 2021-2023 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
@@ -177,7 +177,8 @@ int
icmp_get_type (const hicn_packet_buffer_t *pkbuf, const size_t pos,
hicn_packet_type_t *type)
{
- return CALL_CHILD (get_type, pkbuf, pos, type);
+ *type = HICN_PACKET_TYPE_MAPME;
+ return HICN_LIB_ERROR_NONE;
}
int